Hi,
Have been working on getting my P1 meter to report thru MySensors. Have to wait on an extra Arduino but wanted to figure out a bit on how to get the data in Domoticz the best way.
On the MySensors side the P1 is not supported yet and does not have its own device code (yet?). To keep things in line Domoticz i want to create the messages in the format that Domoticz already uses for P1 serial or lan. I have looked into P1MeterBase.cpp and below the line 50 there are some vars it uses (i think, not really into C).
Could someone help me out a bit and maybe we can create a third way of connecting the P1 smart meter to Domoticz.
Erwin
P1 MySensors
Moderators: leecollings, remb0
-
- Posts: 7
- Joined: Wednesday 28 October 2015 21:17
- Target OS: Linux
- Domoticz version: 3.8796
- Location: Netherlands
- Contact:
-
- Posts: 7
- Joined: Wednesday 28 October 2015 21:17
- Target OS: Linux
- Domoticz version: 3.8796
- Location: Netherlands
- Contact:
Re: P1 MySensors
Nobody got any idea ?
-
- Posts: 7
- Joined: Wednesday 28 October 2015 21:17
- Target OS: Linux
- Domoticz version: 3.8796
- Location: Netherlands
- Contact:
Re: P1 MySensors
Yeah, but the meter and Domoticz virtual server are not in the same place, thats why i want to do it the MySensors way.
Second reason is that i run Domoticz on VmWare and prefer to to use usb if not really needed.
Any help would be nice.
Second reason is that i run Domoticz on VmWare and prefer to to use usb if not really needed.
Any help would be nice.
- sincze
- Posts: 1302
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: P1 MySensors
Would some posts like this help a bit?
https://forum.mysensors.org/topic/907/s ... ter-node/5
I know it can work
as people actually showed me the device in real life. 
https://forum.mysensors.org/topic/907/s ... ter-node/5
I know it can work


Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 52
- Joined: Sunday 27 December 2015 19:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: The Netherlands
- Contact:
Re: P1 MySensors
Maybe you can use a Raspberry PI close to your energymeters, connect the P1 to the USB of the PI. Then use Ser2net on the PI to make the serial -> ehternet conversion. This way you can access the P1 data on your domoticz via ehternet.
The PI model B can do this job easy, they are arround for little money now the newer models are more in demand.
The PI model B can do this job easy, they are arround for little money now the newer models are more in demand.
- sincze
- Posts: 1302
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: P1 MySensors
Yes, this indeeds work like a charm.Rolo wrote:Maybe you can use a Raspberry PI close to your energymeters, connect the P1 to the USB of the PI. Then use Ser2net on the PI to make the serial -> ehternet conversion. This way you can access the P1 data on your domoticz via ehternet.
The PI model B can do this job easy, they are arround for little money now the newer models are more in demand.
or:
If you can get them flash a TPLINK 703 with openWRT and use the same ser2net trick (as seen with OTGW).
That TP LINK will not crash.. An SD card of the Raspberry can

But in this case I think he wanted to deal with the p1 meter via mysensors

I would for example combine the Mysensor node with a
- door sensor to switch on the light in the meterkast,
- obtain temp + humid in the meterkast
- and send the meter values to domoticz.
And that all from 1 node only.


Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Who is online
Users browsing this forum: No registered users and 1 guest