Page 1 of 1

P1 Smartmeter Domoticz problem when using together with Z2mqtt

Posted: Tuesday 27 September 2022 11:57
by mrdomotica
P1 Smartmeter Domoticz problem when also using Zigbee2mqtt.

I'm using Zigbe2Mqtt on a Rpi that is working fine. On the same Rpi I also have Domoticz running which runs ok. Than after adding a P1 SmartMeter reader it causes the problem, that only one of the programs can be used. It seems that both usb input are running on the same port? If I have Domoticz first started than is that program running fine showing all the measured power things. If I have Zigbee2Mqtt started first than that is working and Domoticz not. So, how to get Domoticz p1 on a different port? Or how to make this work together?

Code: Select all

pi@raspberrypi:~ $ ls /dev/serial/by-id
usb-FTDI_FT232R_USB_UART_AC2SLZXI-if00-port0  usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_90_D3_AB-if00-port0

Re: P1 Smartmeter Domoticz problem when using together with Z2mqtt

Posted: Tuesday 27 September 2022 13:52
by waltervl
make your usb devices persistent so they stay the same after a reboot: https://www.domoticz.com/wiki/PersistentUSBDevices

Re: P1 Smartmeter Domoticz problem when using together with Z2mqtt

Posted: Tuesday 27 September 2022 16:02
by mrdomotica
@waltervi Thanks, that made it work. See how this works out on the long range :)