Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to have smartmeter2mqtt running in Home Assistant using NodeRed? #43

Open
alexboss opened this issue Sep 29, 2022 · 0 comments

Comments

@alexboss
Copy link

alexboss commented Sep 29, 2022

Hi guys, sorry to come back with this again. This is following my successful installation as described on #21 (comment)

I ordered and received a SlimmeLezer+ from @zuidwijk which works perfectly fine out of the box. Unfortunately, the wifi signal often breaks and it messes up the real-time curves of electricity consumption (which I'll need in winter time to precisely monitor consumption when the heating will be switched on and the heat pumps working).

So, I'm back with the SlimmeLezer P1 and smartmeter2mqtt.

As explained in the past, I made it work using an intermediate computer to run smartmeter2mqtt and then publish to the mqtt of home assistant installed on raspberry pi.

Now my idea is: instead of having smarmeter2mqtt on an intermediate computer, why not having it on the raspberry pi where home assistant is installed and having it running through NodeRed ?

So I installed NodeRed and configured it with these NPM packages:

  • [email protected] + serialport
    And system packages:
  • python3, make, g++ and linux-headers

See nodered-config

Now, I'm trying to start smartmeter2mqtt through the NodeRed interface using the exec component, unfortunately, it's like the parameters are never taken into consideration and consequently can't have it running.

I always get the feedback: Port or socket required instead of getting 1.7.0-beta.9 for instance.

See nodered-board

Would you have an idea if theoretically it could work this way, and if so, how to pass input parameters to smartmeter2mqtt through NodeRed ?

Thank you and best regards.

Alexandre

PS: I've created a topic on Hassio Community, fingers crossed: https://community.home-assistant.io/t/is-it-possible-to-have-smartmeter2mqtt-with-parameters-running-in-home-assistant-using-nodered/468860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant