I think you need to fill the correct root directory in the package.json file - see the post above yours about building your own build, especially the part about the noteblackdog65 wrote: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
Reacticz dashboard: no install, no hassle
Moderator: leecollings
-
- 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
-
- Posts: 121
- Joined: Sunday 11 October 2015 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.6224
- Location: Holland
- Contact:
Re: Reacticz dashboard: no install, no hassle
Maybe you missed this part about installing React on your PC.blackdog65 wrote:Hi,
If I clone reactictz directly into the domoticz www folder it cannot install as it is looking for package.json in the home folder.
Necessary to build your own version of Reacticz
https://github.com/t0mg/reacticz/blob/m ... ng-testing
If you really read the guidelines here it's must be working
But cloning the complete git to the www dir is not good
After npm run build (a node.js command) the contents of the build directory must be copied to your www directory, or a subdirectory of the ww dir from domoticz
RPI-2 + SSD / ESPEasy Sensors & Switches / Sonoff / RFLink / Action Switches / TP-Link switch / Node-Red / Reacticz
-
- Posts: 68
- Joined: Tuesday 06 December 2016 22:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Reacticz dashboard: no install, no hassle
By default Reacticz builds assuming it is hosted at the server root. Before you build Reacticz, you need to change the homepage property in the package.json. See the note in the build instructions here.
- 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
Thanks guys, I had the package json correct but the where to put it all... wrong
The instructions ( and I have read them all) are ambiguous about..
a) Root folder or home folder
b) Move build folder... but rename it reacticz? Or into a new folder called reacticz?
Sorry if I appear stupid... very little sleep last night
Sean
The instructions ( and I have read them all) are ambiguous about..
a) Root folder or home folder
b) Move build folder... but rename it reacticz? Or into a new folder called reacticz?
Sorry if I appear stupid... very little sleep last night
Sean
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
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
-
- Posts: 121
- Joined: Sunday 11 October 2015 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.6224
- Location: Holland
- Contact:
Re: Reacticz dashboard: no install, no hassle
Maybe have some sleep, and come back tomorow.blackdog65 wrote: Sorry if I appear stupid... very little sleep last night
And tell us what you want.
If you want to run Recticz on your own server, you have to buld reacticz first.
After that it must be placed in a subdir from the www dir of domoticz
But now am I repeating myself, so I stop.
And ambiguous?
I'm a complete www noob, but it worked for me.
RPI-2 + SSD / ESPEasy Sensors & Switches / Sonoff / RFLink / Action Switches / TP-Link switch / Node-Red / Reacticz
-
- Posts: 68
- Joined: Tuesday 06 December 2016 22:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Reacticz dashboard: no install, no hassle
Don't worry, I'm getting that a lot. Which is a little depressing since I created Reacticz to be a no-install thing, so I made the public server to spare the burden of installing it. But it seems everyone still wants to do that anyway
Anyway, I'd be really grateful if a good soul could make a wiki page with detailed step-by-step instructions and command lines for building and installing in domoticz's www folder! It seems I'm failing at making it clear myself.
Anyway, I'd be really grateful if a good soul could make a wiki page with detailed step-by-step instructions and command lines for building and installing in domoticz's www folder! It seems I'm failing at making it clear myself.
- 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
Thanks,ptitneo wrote:Don't worry, I'm getting that a lot. Which is a little depressing since I created Reacticz to be a no-install thing, so I made the public server to spare the burden of installing it. But it seems everyone still wants to do that anyway
Anyway, I'd be really grateful if a good soul could make a wiki page with detailed step-by-step instructions and command lines for building and installing in domoticz's www folder! It seems I'm failing at making it clear myself.
I'm rebuilding it now and will see how I get on.
Once I get it all sorted I'll have a look at writing something for the wiki, maybe the domoticz wiki too. I probably missed a simple step, as we sometimes "can't see the wood for the trees". I'm quite busy re-building a new look domoticz.com at the moment, but with the unhelpful and sarcastic attitude of some users... I wonder is it worth it
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
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
-
- Posts: 121
- Joined: Sunday 11 October 2015 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.6224
- Location: Holland
- Contact:
Re: Reacticz dashboard: no install, no hassle
A separate branch ot github, with Reacticz build for local Domoticz /www/reacticz/ use, would be niceptitneo wrote:since I created Reacticz to be a no-install thing, so I made the public server to spare the burden of installing it. But it seems everyone still wants to do that anyway
But then, the user must know how to use the git to copy the correct branch.
The wish to have it build local comes with the burden of having installing node.js, react etc.
On Windows?, Linux?, Mac?
On your desktop?, or on the raspberry?
RPI-2 + SSD / ESPEasy Sensors & Switches / Sonoff / RFLink / Action Switches / TP-Link switch / Node-Red / Reacticz
-
- 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
I have Nginx running on my Pi with the gh-pages branch cloned into the root folder - no hassle, no install but this requires an extra webserver running when you have Domoticz available, I know - but install and running Nginx is not a big deal
-
- Posts: 68
- Joined: Tuesday 06 December 2016 22:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Reacticz dashboard: no install, no hassle
I agree, a dedicated branch with just the pre-built releases as zip packages would probably make it easier for those who want a local install but don't have node.NietGiftig wrote: A separate branch ot github, with Reacticz build for local Domoticz /www/reacticz/ use, would be nice
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Reacticz dashboard: no install, no hassle
I can not get Reacticz to work. Spend a couple of hours (it way past bedtime). Googled everything I could think of.
I have the correct version of mosquitto running
however (or restart) don't work. The service isn't started. I checked with
My config-file (/etc/mosquitto/mosquitto.conf) is
and I check my ports I see:
So MQTT seems to be running. In Domoticz I've created the hardware: .
The server settings in Reacticz are:
The mosquitto log-file doesn't help.
1- mosquitto doesn't start as a service they way it should
2- in the domoticz.log 1-2 times per minute it shows:
3- in Reacticz all the devices are shown as 'Offline?'
Sorry for the lengthy post. But does someone have any idea what I could try next?
I have the correct version of mosquitto running
Code: Select all
$ mosquitto -v
1486420919: mosquitto version 1.4.10 (build date Thu, 25 Aug 2016 10:12:09 +0100) starting
Code: Select all
sudo mosquitto start
Code: Select all
--sudo service --status-all
- Spoiler: show
- Spoiler: show
Code: Select all
sudo mosquitto -c /etc/mosquitto/mosquitto.conf
Code: Select all
portscan is gestart…
Port Scanning host: 192.168.178.50
Open TCP Port: 22 ssh
Open TCP Port: 443 https
Open TCP Port: 1880 vsat-control
Open TCP Port: 1883 ibm-mqisdp
Open TCP Port: 1884 idmaps
Open TCP Port: 2812 atmtcp
Open TCP Port: 6144 statsci1-lm
Open TCP Port: 8080 http-alt
portscan is voltooid…
Code: Select all
19 Mosquitto Ja MQTT Client Gateway with LAN interface 192.168.178.50 1884 Niet actief
The server settings in Reacticz are:
Code: Select all
MQTT Broker URL: connected!
ws://192.168.178.50:1884
Domoticz server URL:
http://192.168.178.50:8080
- Spoiler: show
1- mosquitto doesn't start as a service they way it should
2- in the domoticz.log 1-2 times per minute it shows:
Code: Select all
2017-02-06 23:52:52.469 MQTT: Connecting to 192.168.178.50:1884
2017-02-06 23:52:52.671 Error: MQTT: disconnected, restarting (rc=7)
Sorry for the lengthy post. But does someone have any idea what I could try next?
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Reacticz dashboard: no install, no hassle
You should connect Domoticz to MQTT port 1883 and not 1884.
Reactiz should be connected to the websocket, which is 1884, so that part is correct.
Not sure if that is the only problem, but maybe it is
Reactiz should be connected to the websocket, which is 1884, so that part is correct.
Not sure if that is the only problem, but maybe it is
Not using Domoticz anymore
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Reacticz dashboard: no install, no hassle
That sure helped with part of my problems! thanks
-
- Posts: 68
- Joined: Tuesday 06 December 2016 22:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Reacticz dashboard: no install, no hassle
Hi everyone, due to popular demand I've created a first release tag on github, you can now download a pre-built package that will work from your domoticz/www folder right out of the box
https://github.com/t0mg/reacticz/releases/tag/v0.1.8
Reacticz now supports many new sensors as well as domoticz/mqtt authentication, thanks to the efforts of G3rard and davidlb.
Cheers!
PS felix63 I hope you were able to fix your problems! I think so since you've created tickets on github
https://github.com/t0mg/reacticz/releases/tag/v0.1.8
Reacticz now supports many new sensors as well as domoticz/mqtt authentication, thanks to the efforts of G3rard and davidlb.
Cheers!
PS felix63 I hope you were able to fix your problems! I think so since you've created tickets on github
-
- Posts: 329
- Joined: Tuesday 16 July 2013 22:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8807
- Location: North East England
- Contact:
Re: Reacticz dashboard: no install, no hassle
Great work, Reacticz is a very nice and clean interface.
The local implementation is even cleaner and I thought may give me new possiblities.
I would like to be able to create a number of different very simple pages of buttons - ones for different times of day and different parts of the house, with just a few buttons displayed. So TV Room - just with the TV and light controls for that room, Bedtime - just with set alarm and switch of lights in different parts of the house.
My knowledge of web page details is scanty, so this may be either very easy to do by another route or just plain stupid.
I thought if I just made symbolic links to the reacticz directory on my Raspberry Pi -
So I thought I would now have two different pages - http://domoticz-ip:8080/reacticz/ and http://domoticz-ip:8080/reacticz-tv/, which will show different sets of buttons, but this doesn't work as obviously the caching is done by ip not by directory so both directories display the same buttons.
Is there any easy way to do this? I hoped to have a series of home page buttons which took me to the few controls I need for different situations.
Thanks, Simon
The local implementation is even cleaner and I thought may give me new possiblities.
I would like to be able to create a number of different very simple pages of buttons - ones for different times of day and different parts of the house, with just a few buttons displayed. So TV Room - just with the TV and light controls for that room, Bedtime - just with set alarm and switch of lights in different parts of the house.
My knowledge of web page details is scanty, so this may be either very easy to do by another route or just plain stupid.
I thought if I just made symbolic links to the reacticz directory on my Raspberry Pi -
Code: Select all
ln -s reacticz/ reacticz-tv
Is there any easy way to do this? I hoped to have a series of home page buttons which took me to the few controls I need for different situations.
Thanks, Simon
Raspberry Pi 2 B - 2A@5V PSU - Raspbian + Domoticz + RFXtrx(89), LightwaveRF House(dimmers, sockets, wireless/mood switches), Owl CM113, 4 LaCross Temp / Humidity Sensors, 4 Siemens PIR, Smappee, Solaredge, ESP8266
-
- Posts: 68
- Joined: Tuesday 06 December 2016 22:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Reacticz dashboard: no install, no hassle
Interesting Your symlink idea is pretty clever. Unfortunately reacticz uses localStorage, which is unique for a given domain and protocol, regardless of the path.
I knew that eventually the need would come for several configurations on the same device. I have a simple idea that I need to try. In the mean time feel free to file an issue in github!
Cheers,
I knew that eventually the need would come for several configurations on the same device. I have a simple idea that I need to try. In the mean time feel free to file an issue in github!
Cheers,
-
- Posts: 68
- Joined: Tuesday 06 December 2016 22:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Reacticz dashboard: no install, no hassle
Following up on this: I've added an experimental way to have multiple dashboards on the same device/browser. It's documented on the wiki.
The feature is available on the public server.
Cheers!
The feature is available on the public server.
Cheers!
-
- Posts: 53
- Joined: Wednesday 16 December 2015 15:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.6792
- Location: Landgraaf, The Netherlands
- Contact:
Re: Reacticz dashboard: no install, no hassle
First of all: thanks ptitneo for this amazing piece of software.
For me (well, maybe more for my girlfriend ) this is really a game changer!!
During the config, I do however encounter a small issue.
We have 2 blinds (left and right). One is being recognized, but not responding. The other mentions "Offline ?"
Any way to troubleshoot this issue?
Help is very appreciated!
Regards,
Rick
For me (well, maybe more for my girlfriend ) this is really a game changer!!
During the config, I do however encounter a small issue.
We have 2 blinds (left and right). One is being recognized, but not responding. The other mentions "Offline ?"
Any way to troubleshoot this issue?
Help is very appreciated!
Regards,
Rick
Raspberry Pi ~ Fibaro Dimmer (Z-Wave) ~ Several KAKU switches and dimmers (433 MHz) ~ Amazon Echo ~ Somfy RTS ~ Sony TV ~ Kodi/XBMC ~ Essent E-Thermostaat (ICY) ~ Cresta thermostat ~ Wundermap Weather ~ Smoke detectors
-
- Posts: 53
- Joined: Wednesday 16 December 2015 15:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.6792
- Location: Landgraaf, The Netherlands
- Contact:
Re: Reacticz dashboard: no install, no hassle
In addition to the statement above, I actually notice that more switches and groups are not responding.
My gut feeling says that something got messed up in the config, but 'starting all over' doesn't seem to fix it..
My gut feeling says that something got messed up in the config, but 'starting all over' doesn't seem to fix it..
Raspberry Pi ~ Fibaro Dimmer (Z-Wave) ~ Several KAKU switches and dimmers (433 MHz) ~ Amazon Echo ~ Somfy RTS ~ Sony TV ~ Kodi/XBMC ~ Essent E-Thermostaat (ICY) ~ Cresta thermostat ~ Wundermap Weather ~ Smoke detectors
-
- Posts: 68
- Joined: Tuesday 06 December 2016 22:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Reacticz dashboard: no install, no hassle
Sounds like something is wrong with the config indeed. Are you using the public server or a local install? And in the server settings do you get the green "connected!" message on both Domoticz and MQTT?
Who is online
Users browsing this forum: No registered users and 1 guest