Page 1 of 1
P1 MySensors
Posted: Tuesday 24 November 2015 21:35
by PixelMagic
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
Re: P1 MySensors
Posted: Thursday 26 November 2015 17:17
by PixelMagic
Nobody got any idea ?
Re: P1 MySensors
Posted: Wednesday 02 December 2015 19:35
by gizmocuz
yes, just buy the cable !
Re: P1 MySensors
Posted: Saturday 05 December 2015 17:49
by PixelMagic
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.
Re: P1 MySensors
Posted: Friday 16 September 2016 1:08
by sincze
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.

Re: P1 MySensors
Posted: Friday 16 September 2016 16:55
by Rolo
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.
Re: P1 MySensors
Posted: Friday 16 September 2016 17:01
by sincze
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.
Yes, this indeeds work like a charm.
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

, interesting as well.
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.
