Not the best title, i'm sure.
But here's the situation; I'm slowly moving all my Raspberry processes to my NAS.
Now i know it's not too hard to move the whole install to another machine, but there's a catch here.
The raspberry now functions as a P1 energy meter. I have to keep this in place, as leaving the Pi there is the only way to read the values.
Now i was thinkin to keep my pi as a slave, an just keep it for P1 measuring and Z-Wave.
In itself that is not too much of an issue. Although all sensors show up as unknown, which is annoying to say the least, i am getting values.
But how can i make sure that these values continue the historic data i already have now since 2018?
When i use the slave sensors, it pops up as a new reading, and is not continuing my current data
Moving Domoticz installation to NAS, keeping existing as slave
Moderator: leecollings
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Moving Domoticz installation to NAS, keeping existing as slave
Perhaps better move the Domoticz setup to your Nas and use your old Pi to send the P1 data to Domoticz through Ser2Net. No more Domoticz on your Pi, only Ser2Net. See wiki
https://www.domoticz.com/wiki/SharingSerialDevices and https://www.domoticz.com/wiki/Dutch_DSM ... o_Domoticz
You will have to setup a new Hardware gateway P1 LAN in Domoticz which will create new P1 devices in Domoticz. But with the replace function in device - Edit you can replace the old devices with the new and keeping the history. see https://www.domoticz.com/wiki/Managing_ ... ace_device
https://www.domoticz.com/wiki/SharingSerialDevices and https://www.domoticz.com/wiki/Dutch_DSM ... o_Domoticz
You will have to setup a new Hardware gateway P1 LAN in Domoticz which will create new P1 devices in Domoticz. But with the replace function in device - Edit you can replace the old devices with the new and keeping the history. see https://www.domoticz.com/wiki/Managing_ ... ace_device
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Moving Domoticz installation to NAS, keeping existing as slave
That is also an option. Indeed found the replace functionality.waltervl wrote: ↑Wednesday 31 August 2022 16:57 Perhaps better move the Domoticz setup to your Nas and use your old Pi to send the P1 data to Domoticz through Ser2Net. No more Domoticz on your Pi, only Ser2Net. See wiki
https://www.domoticz.com/wiki/SharingSerialDevices and https://www.domoticz.com/wiki/Dutch_DSM ... o_Domoticz
You will have to setup a new Hardware gateway P1 LAN in Domoticz which will create new P1 devices in Domoticz. But with the replace function in device - Edit you can replace the old devices with the new and keeping the history. see https://www.domoticz.com/wiki/Managing_ ... ace_device
Ran into some other issues though.
Usb stick support is not available in DSM anymore, so z-wave will have to remain on the pi.
But also: I'm only getting 68 out of the 400 devices through the master/slave functionality.
-
- Posts: 153
- Joined: Wednesday 02 October 2019 7:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands
- Contact:
Re: Moving Domoticz installation to NAS, keeping existing as slave
Maybe you can move to Homewizard P1 meter.
Sell the Raspberry Pi and perhaps you'll end up gaining some money, since the PI is expensive these days.
This method also allowes you to retain your historic data, by using the original IDX'es for you power readings
viewtopic.php?t=34952
Sell the Raspberry Pi and perhaps you'll end up gaining some money, since the PI is expensive these days.
This method also allowes you to retain your historic data, by using the original IDX'es for you power readings
viewtopic.php?t=34952
rpi4 - zigbee2mqtt - roborock - espeasy - rfxcom - homewizard p1 - otgw - homebridge - surveillance station - egardia - goodwe - open weather map - wol - BBQ detection - rsync backup
-
- Posts: 153
- Joined: Wednesday 02 October 2019 7:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands
- Contact:
Re: Moving Domoticz installation to NAS, keeping existing as slave
The M/S functionality is limited, I ran into that same problem.
Some remote devices gave corrupt data, limiting the amount of remote devices solved that.
My guess is that the slave device tries to send all the data in one http query, which is limited to approx 1500 chars.
rpi4 - zigbee2mqtt - roborock - espeasy - rfxcom - homewizard p1 - otgw - homebridge - surveillance station - egardia - goodwe - open weather map - wol - BBQ detection - rsync backup
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Moving Domoticz installation to NAS, keeping existing as slave
Python plugin controlled devices cannot be shared. It is a known issue.azonneveld wrote: ↑Thursday 01 September 2022 8:53The M/S functionality is limited, I ran into that same problem.
Some remote devices gave corrupt data, limiting the amount of remote devices solved that.
My guess is that the slave device tries to send all the data in one http query, which is limited to approx 1500 chars.
Better have Domoticz stay on a RPi (or similar SBC) instead of using a NAS.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Moving Domoticz installation to NAS, keeping existing as slave
The conclusion for now is that master/slave is indeed too limited. It is something that is on the list to be picked up still, and i have no rush whatsoever of course.
Who is online
Users browsing this forum: No registered users and 1 guest