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

Sending scm data to MQTT instead of idm #4

Open
biochemguy opened this issue Jan 15, 2019 · 1 comment
Open

Sending scm data to MQTT instead of idm #4

biochemguy opened this issue Jan 15, 2019 · 1 comment

Comments

@biochemguy
Copy link

biochemguy commented Jan 15, 2019

Hi, not sure if it should be in issue or Pull request, but I just wanted to let you know that if you want to add this to your repo, feel free... I modified your file to send the scm data to MQTT instead of IDM. I did this because while my power meter was sending idm data, my gas meter was not and I could not receive that data. This could help others who have gas, water or power that doesn't send idm data.

After modifying the "amridm2mqtt" file I named it "amridm2mqtt_scm" and changed the amridm2mqtt.systemd.service to point to the new file. I also increased the time between starting rtl_tcp and rtlamr to 20s, as I think rtl_tcp was a bit slow to start on boot on my raspberry pi and had problem running rtlamr from the script.

Thanks for your great work! without that code, I would have been lost, as I am new to all this...
amridm2mqtt_scm.txt

@Linuturk
Copy link

How did you adjust your sensors to deal with the scm data?

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

2 participants