ragingcomputer / amridm2mqtt

runs rtlamr to read IDM power meter data and send to MQTT broker
MIT License
76 stars 43 forks source link

Dual use one USB radio dongle. #7

Closed Ian-Zz closed 2 years ago

Ian-Zz commented 2 years ago

Thanks a bunch for this code. It's capital nifty. This may not be an issue. But thought I would ask. I have one USB radio dongle in my pi3. I have 2 git projects/codes working well. 1 is rtlamr/rtl_tcp (for my energy meter) and the other is rtl_433 (for a Lacross temp sensor). Both work good. But only separately. Both are sending out results to an mqtt broker.

I would like to maybe run both at the same time (if possible). Or just have one program run 25 minutes, quit, start the other program for 5 minutes, quit. And start the first one again for 25 min. And repeat. All day long.

I have been trying to sloppily stop and start code and reset USB dongle but doing it cleanly (so either starts again we'll) isn't working out yet. Thanks for any pointers.

Ian-Zz commented 2 years ago

never mind. I have recently read and learned more. Much more.