Page 4 of 9
Re: Reacticz dashboard: no install, no hassle
Posted: Saturday 14 January 2017 16:29
by NietGiftig
papoo wrote:a little bug
in local installation, script don't works in a subfolder, only at the root of the web server
Not a bug,
http://www.domoticz.com/forum/viewtopic ... 41#p112140
Or read the instructions in the read.md on Github
https://github.com/t0mg/reacticz#runnin ... ng-testing
Re: Reacticz dashboard: no install, no hassle
Posted: Tuesday 17 January 2017 22:18
by ptitneo
Hello everyone,
just a quick update to let you know that I've updated the colors to make the interface more readable. But I've also added theming capabilities, so if you want to return to the original colors you can do it too: there is a tiny theme selector in the Information page (last item on the right in the menu).
If you are feeling inspired, you can now add your own custom color schemes in the Themes.js file (if you do so, please make a pull request on the repository so that everyone can enjoy it).
In other news, "Blinds Inverted" and thermostats are now supported, and the layout is now free (no more vertical compacting) so you can create widget groups more easily.
Cheers,
Re: Reacticz dashboard: no install, no hassle
Posted: Tuesday 17 January 2017 22:42
by NietGiftig
Thanks!!!
This user interface update is really a good addition.
It is a clean interface, extremely useful on a tablet, just try it out.
Only a MQTT broker running (I use Mosquitto) besides Domoticz, see first post
All 3 tablets in my house have now Reacticz onboard, each with its own designed interface.
Re: Reacticz dashboard: no install, no hassle
Posted: Friday 20 January 2017 12:04
by jkimmel
My interface contains some devices others show up as "offline?"
What makes the diffference?
Re: Reacticz dashboard: no install, no hassle
Posted: Friday 20 January 2017 15:52
by ptitneo
jkimmel wrote:My interface contains some devices others show up as "offline?"
What makes the diffference?
I don't know which devices show and which dont in your case, but if you see Scenes and Groups and not, say, Switches, then that's because Scenes and Groups don't use MQTT (because Domoticz's MQTT bridge doesn't support them so I had to fall back to the JSON API which does much more but lacks all the advantages of MQTT).
So it's probably an issue with your MQTT configuration. Start by double-checking that you
have websockets enabled in your MQTT broker (hint: if the port is 1883 then you are not using websockets). If you are using Mosquitto, you can look at the links in
Reacticz's readme on github, they explain how to enable websockets, or see for example
NietGiftig's configuration in an older post.
Re: Reacticz dashboard: no install, no hassle
Posted: Friday 20 January 2017 17:14
by jkimmel
This is my mosquitto.conf
Code: Select all
autosave_interval 1800
persistence_location /tmp/
connection_messages true
include_dir /etc/mosquitto/conf.d
log_timestamp true
listener 1883
listener 2884
protocol websockets
listener 1884
protocol websockets
I'm not sure about the correct location, is it /etc/mosquitto or /etc/mosquitto/conf.d. I tried both.
I always got connected
Code: Select all
MQTT Broker URL: connected!
ws://192.168.1.xxx:1884
Domoticz server URL:
http://192.168.1.xxx:8080
All of my devices are listed.
Is this sufficient?
Re: Reacticz dashboard: no install, no hassle
Posted: Friday 20 January 2017 17:26
by ptitneo
First off, can you confirm that the widgets that are not "Offline" are Scenes and Groups ?
Then I'm sorry I won't be able to help much, I'm really no a mosquitto expert. I just don't understand why you have 2 listeners for websockets, maybe try removing one?
My broker is running on a synology nas but for the Pi it should be as simple as following this tutorial which mentions that the config file can be located in /etc/mosquitto/mosquitto.conf, or in a new file (ex: /etc/mosquitto/conf.d/
websocket.conf) - see
http://blog.ithasu.org/2016/05/enabling ... mosquitto/
Re: Reacticz dashboard: no install, no hassle
Posted: Friday 20 January 2017 17:43
by jkimmel
ptitneo wrote:First off, can you confirm that the widgets that are not "Offline" are Scenes and Groups ?
Yes, I confirm.
I'm going to try with the new file.
Thanks for help!
Re: Reacticz dashboard: no install, no hassle
Posted: Friday 20 January 2017 17:54
by NietGiftig
jkimmel wrote:
I'm not sure about the correct location, is it /etc/mosquitto or /etc/mosquitto/conf.d. I tried both.
In /etc/mosquitto/mosquitto.conf add
This redirects to all the conf files that are in that dir
In /etc/mosquitto/conf.d/ create a file with the name websockets.conf
Code: Select all
# Standard Listener
listener 1883
protocol mqtt
#allow_anonymous false
#password_file /etc/mosquitto/passwords.txt
# Websockets Listener
listener 1884
#http_dir
#Set the protocol to accept for this listener. Can be mqtt (the default), or websockets.
protocol websockets
I do not know why you have 2 listeners with websockets and no protocol listener mqtt
Re: Reacticz dashboard: no install, no hassle
Posted: Friday 20 January 2017 19:59
by Snowtiger
NietGiftig wrote:I do not know why you have 2 listeners with websockets and no protocol listener mqtt
The 2 listeners with websockets is not a problem, they use different ports - a listener without a protocol defaults to mqtt so he has one running
Re: Reacticz dashboard: no install, no hassle
Posted: Saturday 21 January 2017 15:21
by jkimmel
Now I'm using websockets. conf of "nietggiftig" but I don't get further. Possibly I'm missing some prerequisites? Nodejs? Node-Red?
Re: Reacticz dashboard: no install, no hassle
Posted: Saturday 21 January 2017 15:35
by NietGiftig
jkimmel wrote:Possibly I'm missing some prerequisites? Nodejs? Node-Red?
Not necessary.
But you are still a little vague about what is wrong.
Tell precisely step by step what you have done, what you see on the screen and then what you expect to see, or what you miss.
Maybe a screen-shot.?
Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 0:25
by MikeF
ptitneo wrote:... or you can download the pre-built files from the gh-pages branch of the github repo). Then simply move these files somewhere you can access them. You can serve them with your node.js server as you suggested, but the www folder in domoticz should also work just fine.
I'm clearly missing something
- I've downloaded these to a subfolder 'reacticz' within domoticz/www, but when I enter
I just get "Domoticz Offline'.
(I've been running happily for a while now from the public server.)
Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 0:36
by ptitneo
Not sure what you're doing wrong here maybe someone who's done the same can help you ?
Also, I realize that I gave you a bad advice with the gh-pages branch thing. You'll need a different build because you won't be running Reacticz from the root of your server, as explained in the
note on the readme, sorry about that.
Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 0:54
by NietGiftig
MikeF wrote:ptitneo wrote:.
I'm clearly missing something
- I've downloaded these to a subfolder 'reacticz' within domoticz/www, but when I enter
I just get "Domoticz Offline'.
You can only run Reacticz from your domoticz www folder if you have build Reacticz yourself and placed the build dir in the www dir of Domoticz.
see
http://www.domoticz.com/forum/viewtopic ... 54#p112140
See for installation notes the git and the beginning of this topic.
[Solved] Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 3:46
by jkimmel
NietGiftig wrote:jkimmel wrote:Possibly I'm missing some prerequisites? Nodejs? Node-Red?
Not necessary.
But you are still a little vague about what is wrong.
Tell precisely step by step what you have done, what you see on the screen and then what you expect to see, or what you miss.
Maybe a screen-shot.?
Used websocket port instead of broker port (Domoticz MQTT config)
Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 12:03
by MikeF
ptitneo wrote:Not sure what you're doing wrong here maybe someone who's done the same can help you ?
Also, I realize that I gave you a bad advice with the gh-pages branch thing. You'll need a different build because you won't be running Reacticz from the root of your server, as explained in the
note on the readme, sorry about that.
OK, got this running locally by installing nginx on another RPi and copying contents of gh-pages to /var/www/html - easy!
Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 13:49
by ptitneo
MikeF wrote:OK, got this running locally by installing nginx on another RPi and copying contents of gh-pages to /var/www/html - easy!
Easy if you have an extra Pi lying around... The idea with Reacticz was to provide a public server to avoid all this and get updates automatically (especially in the early stages of the project where a lot of things change quickly).
But it seems that a lot of users still want to host it for various reasons so maybe it would be more convenient to also provide a pre-built version for localhost:8080/reacticz.
Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 14:10
by Snowtiger
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?
Re: Reacticz dashboard: no install, no hassle
Posted: Monday 23 January 2017 14:14
by NietGiftig
ptitneo wrote:But it seems that a lot of users still want to host it for various reasons so maybe it would be more convenient to also provide a pre-built version for localhost:8080/reacticz.
+1 for that.
(But i will keep my fork
)