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.

Moderator: leecollings

Post Reply
ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Reacticz dashboard: no install, no hassle

Post by Snowtiger »

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: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger »

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 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger »

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 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger »

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: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger »

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 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by Snowtiger »

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 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

Snowtiger wrote:Nice, but i can not create pages ???
You should be able to, now :)
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by blauwebuis »

How can I best install this on the Synology version of Domoticz? Is it even possible?
ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Reacticz dashboard: no install, no hassle

Post by Snowtiger »

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 Image
ptitneo
Posts: 68
Joined: Tuesday 06 December 2016 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

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

(FYI currently I only bump the version number when I push a new build to the public server)
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by blauwebuis »

@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 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by ptitneo »

@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: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: Reacticz dashboard: no install, no hassle

Post by blackdog65 »

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 0 guests