Page 1 of 1

changing hardwaretype

Posted: Thursday 05 November 2020 11:16
by eddieb
Hi,
I want to relocate my RPI with domoticz closer to my p1meter.
I am running p1meter over a network relay now thru "P1 Smart Meter with LAN interface" which is type 5 in the domoticz.db.
I want to change it to "P1 Smart Meter USB" to connect the usb cable directly to my RPI.
Can I change the type in domoticz or do I need to change the record in the database ?
Where can I find the hardwaretype id for "P1 Smart Meter USB" ?

Re: changing hardwaretype

Posted: Thursday 05 November 2020 13:32
by waaren
eddieb wrote: Thursday 05 November 2020 11:16 Can I change the type in domoticz or do I need to change the record in the database ?
Where can I find the hardwaretype id for "P1 Smart Meter USB" ?
Don't know where to find it but it is 4.
As far as I know there is no defined process for changing a hardware type of devices so you will have to experiment (after ensuring you have a working and tested backup)

Re: changing hardwaretype

Posted: Thursday 05 November 2020 13:35
by eddieb
waaren wrote: Thursday 05 November 2020 13:32
tnx @waaren, I'll just try it, create an aextra backup of the DB and than change the type ... plug the usb cable over and see what happens, I will let you know ;-)

Re: changing hardwaretype

Posted: Wednesday 11 November 2020 11:53
by eddieb
waaren wrote: Thursday 05 November 2020 13:32
It worked ...

- made extra backup of the .db
- moved p1 usb cable to domoticz rpi
- changed the hardware type in domoticz
changed the speed to 115200
- rebooted

no history lost ;-)