Reacticz dashboard: no install, no hassle

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.
Post Reply
ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Monday 23 January 2017 15:19

Snowtiger wrote:My Domoticz install has user/password required - Reactiz can not connect to it because of this - how do I specify this on reactiz.t0m.fr?
Have you tried to set them in the config line for Domoticz server URL? http://<username:password@>domoticz-ip<:port>

Snowtiger
Posts: 75
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.7602
Contact:

Reacticz dashboard: no install, no hassle

Post by Snowtiger » Monday 23 January 2017 15:50

Snowtiger wrote:My Domoticz install has user/password required - Reactiz can not connect to it because of this - how do I specify this on reactiz.t0m.fr?
Answer my own question - specify local networks in Domoticz settings - no password required ;) and working right away :)

Snowtiger
Posts: 75
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.7602
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger » Wednesday 25 January 2017 1:10

I have a group in my Domoticz setup - include in Reacticz no problem, reaction on push of button oke but the button does not change into the opposite state - from on to off - after the push - I have to reload or press another action and then the group button gets the right colour, is this as designed?

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Wednesday 25 January 2017 1:26

Snowtiger wrote:I have a group in my Domoticz setup - include in Reacticz no problem, reaction on push of button oke but the button does not change into the opposite state - from on to off - after the push - I have to reload or press another action and then the group button gets the right colour, is this as designed?
This might be a bug. Do you have at least one switch that's part of this group in the Reacticz dashboard?

Snowtiger
Posts: 75
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.7602
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger » Wednesday 25 January 2017 1:28

ptitneo wrote:This might be a bug. Do you have at least one switch that's part of this group in the Reacticz dashboard?
No, I have not

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Wednesday 25 January 2017 1:36

Snowtiger wrote:No, I have not
That's probably why. Try adding one if possible and see if it works as expected. I'll file an issue on github for your case.

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Wednesday 25 January 2017 2:38

An update to let you know that I've added a "select by room plan" feature in the devices list section.

I seriously need to update the readme with all the new stuff that's been added recently (theming options, selector widgets, thermostat devices, energy widget, alert widget, percent widget, text widget, inverted blinds, etc.)

Snowtiger
Posts: 75
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.7602
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger » Wednesday 25 January 2017 12:00

ptitneo wrote:An update to let you know that I've added a "select by room plan" feature in the devices list section.

I seriously need to update the readme with all the new stuff that's been added recently (theming options, selector widgets, thermostat devices, energy widget, alert widget, percent widget, text widget, inverted blinds, etc.)
Maybe it's a better idea to start a Wiki on Github or wherever ? Others can contribute to it if you like :)

Snowtiger
Posts: 75
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.7602
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger » Wednesday 25 January 2017 12:06

ptitneo wrote:
Snowtiger wrote:No, I have not
That's probably why. Try adding one if possible and see if it works as expected. I'll file an issue on github for your case.
I added one to my Dashboard and it works as expected

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Wednesday 25 January 2017 15:59

Snowtiger wrote:Maybe it's a better idea to start a Wiki on Github or wherever ? Others can contribute to it if you like :)
Ah, excellent idea :)

https://github.com/t0mg/reacticz/wiki is now open, and completely empty. Please contribute!

Snowtiger
Posts: 75
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.7602
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger » Wednesday 25 January 2017 16:44

ptitneo wrote:Ah, excellent idea :)

https://github.com/t0mg/reacticz/wiki is now open, and completely empty. Please contribute!
Nice, but i can not create pages ???

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Wednesday 25 January 2017 16:48

Snowtiger wrote:Nice, but i can not create pages ???
You should be able to, now :)

blauwebuis
Posts: 133
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by blauwebuis » Wednesday 25 January 2017 23:18

How can I best install this on the Synology version of Domoticz? Is it even possible?

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Thursday 26 January 2017 0:29

blauwebuis wrote:How can I best install this on the Synology version of Domoticz? Is it even possible?
If you don't already have a MQTT broker you can install the synology version of MQTT (tutorial link is in the readme on github). Then either use the public server of Reacticz and you're done, or build Reacticz and host it on the webserver of the synology too.

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Thursday 26 January 2017 22:36

Hi everyone,

I've followed Snowtiger's sound advice and started a small wiki for Reacticz here: https://github.com/t0mg/reacticz/wiki

Any contribution would be highly appreciated :) For example:
- fill out the device list page skeleton that I've started with more screenshots and information
- start a FAQ with tips on how to setup websockets on MQTT (common mistake), how to build for the www folder of domoticz, how to add reacticz as a dashboard shortcut on mobile, or on what type of hardware it has been tested (happy to report that it works fine on an 2011 android tablet :))

Thanks!

Snowtiger
Posts: 75
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.7602
Contact:

Reacticz dashboard: no install, no hassle

Post by Snowtiger » Tuesday 31 January 2017 23:58

I did a

Code: Select all

git pull
tonight and found out that some features have been implemented in Reacticz - I like the new Light Blue theme - select it on Information tab ;)

See https://github.com/t0mg/reacticz/wiki/Supported-devices for all supported devices!

Note to @ptitneo - no minor version jump, still 0.1.3

Edit - I was to fast, git pull today shows 0.1.4

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Wednesday 01 February 2017 12:50

Snowtiger wrote:Edit - I was to fast, git pull today shows 0.1.4
;)

(FYI currently I only bump the version number when I push a new build to the public server)

blauwebuis
Posts: 133
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by blauwebuis » Sunday 05 February 2017 12:47

@ptitneo: but I can't access the folder of Domoticz on my Synology. Well, not normally anyway. I know I can get root and make it visible somehow. But I tried it before and it didn't work.

I'm just curious about all the steps on Synology, from beginning till end. Probably something like:

- Get access to Synology as root through SSH. Make the Applications directory no longer hidden.
- Install MQTT server on your Synology
- Download the files somewhere? In my understanding it's just adding/replacing some files in a folder right? Or is it more than that and do I need to compile?
- Change some settings somewhere so it uses MQTT.
- Other magic?
- Done

ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo » Sunday 05 February 2017 15:09

@blauwebuis I have MQTT installed on my Synology, I used the article that's referenced the Reacticz readme. In my case the package refuses to start normally so I have to run it manually, I do that from the Synology task scheduler:

Code: Select all

/usr/local/mosquitto/sbin/mosquitto -c 
/usr/local/mosquitto/var/mosquitto.conf -d
Other than that it's exactly like in the article. Don't forget to modify the config file to add a websockets listener because that's what Reacticz uses (while Domoticz on its side uses the regular mqtt protocol on port 1883).

Then you have to add the MQTT client gateway device in Domoticz (see here) and that's it for the mandatory steps. With that you can use Reacticz from its public server.

Now if you want to host your own build of Reacticz you need to build it with the proper homepage configured in the package.json (see here, especially the note), and then move the files on a local webserver. One common solution is the www folder of Domoticz since most people in this forum already have that ;) But if that's not easy to do when using the Synology package, then any other webserver in your local network would do. For example you can most likely use Synology WebStation - turn it on (enable "personal website") and then move the files to the 'www' folder it creates in the user home directory (which should also appear as a shared folder in your network). Default port is 80 so if you drop the Reacticz folder in your www folder, you should then be able to access if from http://diskstation-ip/reacticz

Hope this helps! If you get it working, it would be really cool to share the steps on the Reacticz wiki on Github :)

User avatar
blackdog65
Posts: 535
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi
Domoticz version:
Location: Norfolk, UK
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by blackdog65 » Monday 06 February 2017 10:02

Hi,
I have managed to get node-red and mqtt installed and running as well as a mqtt client in domoticz... so far so good.
If I clone reactictz directly into the domoticz www folder it cannot install as it is looking for package.json in the home folder. So do I install build etc in my home folder and then move the entire package to domoticz? I was going round in circles last night until very late... but still want to attack it and win today ;)
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests