Page 1 of 2
SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 13 February 2022 20:40
by janvangent2
Hi all,
I recently purchased this P1 smart meter tool:
https://www.zuidwijk.com/product/slimmelezer-plus/
I've got it up and running, I can access the webpage and read the current use/production, so that's all fine.
However, the integration in Domoticz is not working.
According to the website (
https://www.zuidwijk.com/automation-integration/) domoticz should have native integration for this module.
I do the same as stated over there: add hardware P1 meter with LAN interface.
I enter the IP adress and I used the same port as displayed: 23.
This is the result in the log:
2022-02-13 20:38:07.069 Status: P1 slimmelezer: attempt connect to 192.168.1.145:23
2022-02-13 20:38:07.087 Error: P1 slimmelezer: Can not connect to: 192.168.1.145:23
If I change the port to 80, which is according to angryipscanner the only port which is open on the slimmelezer+, I get the following:
2022-02-13 20:39:08.355 Status: P1 slimmelezer: attempt connect to 192.168.1.145:80
2022-02-13 20:39:08.360 Status: P1 slimmelezer: connected to: 192.168.1.145:80
2022-02-13 20:39:11.693 Status: P1 slimmelezer: disconnected
2022-02-13 20:39:11.693 Status: P1 slimmelezer: Connection reset!
and this keeps on repeating.
Any suggestions? Help would be greatly appreciated.
Best regards,
Jan
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 13 February 2022 22:26
by FireWizard
Hello @janvangent2,
Port 80 is used by the built-in webserver and as you said, this is working fine, because you can read the webpage. The question is, which port did you configure?
See:
https://www.zuidwijk.com/initial-setup-slimmelezer/
The configured port should be the same as the one you configured in Domoticz.
Regards
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Monday 14 February 2022 13:00
by janvangent2
FireWizard wrote: ↑Sunday 13 February 2022 22:26
Hello @janvangent2,
Port 80 is used by the built-in webserver and as you said, this is working fine, because you can read the webpage. The question is, which port did you configure?
See:
https://www.zuidwijk.com/initial-setup-slimmelezer/
The configured port should be the same as the one you configured in Domoticz.
Regards
Thanks for the link, however I don't see anywhere the port is to be set during the setup.
The screenshot only shows where to set the port on HomeAssistant.
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Monday 14 February 2022 15:08
by Jieffe
Are you able to connect to the device with telnet ?
I just installed ESP-Link on an ESP-01 I had lying around and can access it on port 23 (the default Telnet port). However, just like you, I can't see where you can configure that port. I reckon it is hard-coded in the program.
If you're comfortable with re-flashing the ESP, you could change ESP-Link for the latest ESP-Easy. That's what my P1 reader (albeit not the same as you) uses and it connects flawlessly to Domoticz.
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Monday 14 February 2022 19:13
by FireWizard
Hi,
Isn't this the same issue as
viewtopic.php?f=14&t=38024?
Regards
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Monday 14 February 2022 19:20
by janvangent2
connection is refused: this is what I get when I try to connect throught Telnet (using putty, port 23)...
Also happens immediatly after a reboot (so there is no way already 7 telnet sessions ongoing)
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Monday 14 February 2022 20:39
by Jieffe
janvangent2 wrote: ↑Monday 14 February 2022 19:20
connection is refused: this is what I get when I try to connect throught Telnet (using putty, port 23)...
That's what I thought when you wrote the only open port was 80.
Maybe try resetting it to factory settings and reconfigure. If it doesn't work, try re-flashing ESP-Link (the procedure is explained on the Github page
https://github.com/jeelabs/esp-link/blo ... l-flashing )
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Tuesday 15 February 2022 15:41
by janvangent2
Jieffe wrote: ↑Monday 14 February 2022 20:39
janvangent2 wrote: ↑Monday 14 February 2022 19:20
connection is refused: this is what I get when I try to connect throught Telnet (using putty, port 23)...
That's what I thought when you wrote the only open port was 80.
Maybe try resetting it to factory settings and reconfigure. If it doesn't work, try re-flashing ESP-Link (the procedure is explained on the Github page
https://github.com/jeelabs/esp-link/blo ... l-flashing )
It came with ESPhome installed, not ESP-link...
Should I switch to ESP-link
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Tuesday 15 February 2022 16:29
by Jieffe
janvangent2 wrote: ↑Tuesday 15 February 2022 15:41
It came with ESPhome installed, not ESP-link...
Should I switch to ESP-link
Oops, I thought it came with ESP-Link but it's just an alternative firmware offered on Zuidwijk's website.
Try encoding port 6053 in Domoticz setup instead of 23
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Tuesday 15 February 2022 17:06
by janvangent2
Jieffe wrote: ↑Tuesday 15 February 2022 16:29
janvangent2 wrote: ↑Tuesday 15 February 2022 15:41
It came with ESPhome installed, not ESP-link...
Should I switch to ESP-link
Oops, I thought it came with ESP-Link but it's just an alternative firmware offered on Zuidwijk's website.
Try encoding port 6053 in Domoticz setup instead of 23
That actually works (to a certain degree).
I get this now in the log:
2022-02-15 17:03:37.821 Status: P1 slimmelezer: attempt connect to 192.168.1.145:6053
2022-02-15 17:03:37.832 Status: P1 slimmelezer: connected to: 192.168.1.145:6053
However, I don't see any devices (also not in the unused list). I guess these should be generated automatically, right?
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Tuesday 15 February 2022 17:29
by Jieffe
janvangent2 wrote: ↑Tuesday 15 February 2022 17:06
However, I don't see any devices (also not in the unused list). I guess these should be generated automatically, right?
In Domoticz SETUP -> Settings -> System Setup page, have you enabled "Accept new hardware devices" or pushed the red "Allow for 5 minutes" button ?
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Tuesday 15 February 2022 21:29
by janvangent2
I tried but no result

any other suggestions?
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Tuesday 15 February 2022 23:02
by Jieffe
janvangent2 wrote: ↑Tuesday 15 February 2022 21:29
I tried but no result

any other suggestions?
Do you get anything if you telnet on port 6053 ?
In last resort, I'd enable in Domoticz "Allow for 5 minutes", then disable the P1 Smartmeter plugin and finally re-enable it within the 5 minutes ...
Other than that, I'd try flashing with ESP-Link or ESP-Easy
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 20 February 2022 13:03
by janvangent2
Hi,
I gave up and I flashed it with ESPeasy.
I've set all values as it should (as I found online), but still didn't get it working. Also in the espeasy log I don't see anything.
Could it be that the slimmemeter+ from Zuidwijk has a different PIN settings, than what is standard used?
What I could find in the Zuidwijk documentation, is that Rx pin = 7
https://www.zuidwijk.com/slimmelezer-configuration/
Any idea if that is correct?
While on espeasy I see the following Rx/Tx pins:
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 20 February 2022 14:39
by Jieffe
I assumed your hardware used the RX pin to communicate with the meter, like mine does.
As far as I can see, the "P1 Wifi Gateway" plugin expects the information coming from the RX pin and is not able to use another pin.
Perhaps it would work with the other communication plugin, "Serial Server" :
At least, you should be able to Telnet to it ...

- Screenshot_2022-02-20_14-34-28.jpg (65.24 KiB) Viewed 4677 times
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 20 February 2022 20:44
by janvangent2
Hi,
When I try that, it al looks fine, see below:

- befor_submitting.png (51.88 KiB) Viewed 4653 times
However, as soon as I hit "submit", the values change to this:

- after_submitting.png (62.33 KiB) Viewed 4653 times
Any ideas?
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 20 February 2022 20:54
by janvangent2
With both the serial server as the P1 wifi gateway option I can see once I start the domoticz plugin, it does connect to the ESP.
However, I don't see any data coming in the log (I guess I should see the P1 port updates in the log of ESPeasy, right?), nor do I see any devices coming online in domoticz.
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 20 February 2022 21:09
by waltervl
Why do you not contact Marcel Zuidwijk and ask him how to connect his board to Domoticz? You probably have to flash it back to his original firmware.
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Sunday 20 February 2022 23:44
by Jieffe
waltervl wrote: ↑Sunday 20 February 2022 21:09
Why do you not contact Marcel Zuidwijk and ask him how to connect his board to Domoticz? You probably have to flash it back to his original firmware.
At this point, that's my conclusion too ...
Re: SlimmeLezer+ P1 meter with LAN interface
Posted: Monday 21 February 2022 9:34
by janvangent2
He doesn't have any contact details on his website.
Only option to ask questions is to reply on one of his posts in the comment section, but these need to be reviewed by him before they come visible for all visitors. And so far, he didn't approve my 2 comments (although others have been approved since then... so perhaps he knows there is an issue but rather sticks his head in the sand? I hope that is not the case)