P1-wifi gateway (ESPEasy based)
Moderator: leecollings
-
- Posts: 11
- Joined: Saturday 21 May 2016 12:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Contact:
P1-wifi gateway (ESPEasy based)
Hi,
I have designed a small shield for the Wemos D1 mini to interface to the (Dutch) P1 Smart Meter port (see romix.macuser.nl). The Wemos board runs ESPEasy (either the Ser2Net plug-in, or my own, more customized to P1 datagrams, plug-in). On the Domoticz side, it uses the 'P1 Smart Meter with LAN interface' hardware pplug-in.
For a while, this works fine.
This is what the log shows:
2016-05-18 08:54:29.140 (serialtest) P1 Smart Meter (Power new)
2016-05-18 08:54:39.203 (serialtest) P1 Smart Meter (Power new)
2016-05-18 08:54:49.239 (serialtest) P1 Smart Meter (Power new)
Then, for unknown reasons this happens:
2016-05-18 08:33:00.383 Error: serialtest hardware (11) thread seems to have ended unexpectedly
When we're in this stage, both ESP and Domoticz need to be restarted.
Anyone have an idea how to find out what's wrong and how to fix it?
The datagrams produced by the ESP module seem fine (and are only sent when complete).
Ronald
I have designed a small shield for the Wemos D1 mini to interface to the (Dutch) P1 Smart Meter port (see romix.macuser.nl). The Wemos board runs ESPEasy (either the Ser2Net plug-in, or my own, more customized to P1 datagrams, plug-in). On the Domoticz side, it uses the 'P1 Smart Meter with LAN interface' hardware pplug-in.
For a while, this works fine.
This is what the log shows:
2016-05-18 08:54:29.140 (serialtest) P1 Smart Meter (Power new)
2016-05-18 08:54:39.203 (serialtest) P1 Smart Meter (Power new)
2016-05-18 08:54:49.239 (serialtest) P1 Smart Meter (Power new)
Then, for unknown reasons this happens:
2016-05-18 08:33:00.383 Error: serialtest hardware (11) thread seems to have ended unexpectedly
When we're in this stage, both ESP and Domoticz need to be restarted.
Anyone have an idea how to find out what's wrong and how to fix it?
The datagrams produced by the ESP module seem fine (and are only sent when complete).
Ronald
-
- Posts: 2
- Joined: Tuesday 05 August 2014 22:05
- Target OS: Linux
- Domoticz version: beta
- Location: Deventer/Nederland
- Contact:
Re: P1-wifi gateway (ESPEasy based)
Same issues here.
Anyone have an idea how to solve this problem?
Regards,
hemarsys
Anyone have an idea how to solve this problem?
Regards,
hemarsys
- Mediacj
- Posts: 74
- Joined: Wednesday 11 February 2015 16:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: P1-wifi gateway (ESPEasy based)
I have no solution for this problem but with this bridge on a esp8266 it all works perfect for more then a half year at the moment within Domoticz.
https://github.com/beckdac/ESP8266-transparent-bridge
https://github.com/beckdac/ESP8266-transparent-bridge
-
- Posts: 26
- Joined: Monday 15 July 2013 8:17
- Target OS: Linux
- Domoticz version: Beta
- Location: Drenthe
- Contact:
Re: P1-wifi gateway (ESPEasy based)
I've ordered this board from you, I may assume that the board comes with this issue fixed ?romix wrote: Then, for unknown reasons this happens:
2016-05-18 08:33:00.383 Error: serialtest hardware (11) thread seems to have ended unexpectedly
When we're in this stage, both ESP and Domoticz need to be restarted.
Anyone have an idea how to find out what's wrong and how to fix it?
The datagrams produced by the ESP module seem fine (and are only sent when complete).
Ronald
-
- Posts: 2
- Joined: Tuesday 05 August 2014 22:05
- Target OS: Linux
- Domoticz version: beta
- Location: Deventer/Nederland
- Contact:
Re: P1-wifi gateway (ESPEasy based)
is there any news about a fix?
-
- Posts: 26
- Joined: Monday 15 July 2013 8:17
- Target OS: Linux
- Domoticz version: Beta
- Location: Drenthe
- Contact:
Re: P1-wifi gateway (ESPEasy based)
I received my board this week, followed the instructions but I haven't got it to work yet. I have created the "serial server" but I cannot connect to it.
-
- Posts: 3
- Joined: Thursday 13 August 2015 20:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: P1-wifi gateway (ESPEasy based)
If you have a Kaifa MA105: set baudrate 115200 8N1, esp easy serial server.... and it works !
Bye
Bye
-
- Posts: 26
- Joined: Monday 15 July 2013 8:17
- Target OS: Linux
- Domoticz version: Beta
- Location: Drenthe
- Contact:
Re: P1-wifi gateway (ESPEasy based)
I have a Kaifa, I'm using the recommended settings. It runs. For 10 minutes, then everything crashes. In my opinion this is not beta, this is experimental. I think I'll revert to rpi+p1 usb. Ran for years without crashing a single time.
-
- Posts: 26
- Joined: Monday 15 July 2013 8:17
- Target OS: Linux
- Domoticz version: Beta
- Location: Drenthe
- Contact:
Re: P1-wifi gateway (ESPEasy based)
I gave up on this, I had 20+ crashes per day. I've changed my setup to a slave instance of Domoticz with a P1 USB cable. It never crashed since.
-
- Posts: 24
- Joined: Saturday 31 January 2015 19:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: P1-wifi gateway (ESPEasy based)
As mentioned on the Wiki for the Serial Server plugin:piotr wrote:I have a Kaifa, I'm using the recommended settings. It runs. For 10 minutes, then everything crashes. In my opinion this is not beta, this is experimental. I think I'll revert to rpi+p1 usb. Ran for years without crashing a single time.
Information on this page is based on preliminary development. Beware that functionality may be incomplete, not fully tested and subject to change.
You could also read: experimental.
-
- Posts: 11
- Joined: Saturday 21 May 2016 12:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Latest
- Contact:
Re: P1-wifi gateway (ESPEasy based)
New plug is is available on ESP Easy github (https://github.com/ESP8266nu/ESPEasyPlu ... ateway.ino).
This version verifies checksum and drops corrupt datagrams. Stability seems fine now.
This version verifies checksum and drops corrupt datagrams. Stability seems fine now.
-
- Posts: 2
- Joined: Friday 26 February 2016 21:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: P1-wifi gateway (ESPEasy based)
I can confirm: running over 1 month now with new plug-in / firmware and no hick-ups whatsoever. Seems to be really stable now. Neat solution.
Who is online
Users browsing this forum: No registered users and 1 guest