-
Notifications
You must be signed in to change notification settings - Fork 11
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
multiple HA instances #42
Comments
Hi @rodeho, For the short term it would definatly be possible to multiply the parts of the code where HASS is mentioned (dont forget adding additional config in config.ini). However in order to add this function parts of the code should be rewritten to interpret the HASS servers as an array, We could possibly break backwards compatibility with this. @cyberjunky should decide wether this functionality should be added. |
Maybe a simpler solution. Write to an MQTT broker and let the different hassio read the sensors they want/need. |
That could be a solution, let's dig into that. |
@jan-dewit and I got it rolling, working fine. Maybe @cyberjunky can copy this to the readme.md? The HA mosquitto is unable to run 2 instances in parallel, you need to adopt the remote feed into your current mosquitto Step 0: add a new user to the HA instance where the RTL-SDR Pi is located, a normal HA user can read the MQTT feed. Below the test user the RTL-SDR HA instance = cybersecurity Step 1: Step 2
Step 3 in the configuration.yaml
Step 4: Checks if it works: |
@rodeho Great to hear you have it working... You have a location with the sdr receiver, there you run a local mqtt-broker, than you have home assistant (local) and that pushes the mqtt to a cloud broker? Do I get it right here? |
We both using HA in a VM, and at my location there is a Pi with the RTL-SDR dongle. The Pi posts to my MQTT data stream. The big challenge is to get a cloud MQTT stream joined within HA, it mainly focussed on local/home streams get it pushed directly from devices. There for my colleague needs to add the cloudmqtt config to get his MQTT broker filed up with my p2000 MQTT messages. Hey joins with a user account on my MQTT broker, defined in the cloudmqtt config. The other thing we went into, is that he also received my DSMR (meterstanden). To overcome that issue I have implemented MQTT ACL's on the MQTT sender side. Pi with RTLSDR-> pushes to my local HA MQTT broker ->(internet)<-collegue his local MQTT broker joins my MQTT broker to subscribe to p2000 |
@Dinges28 one question I'm also experimenting with pagermon a website for pager messages running locally. Do you know if its possible to start the p2000.py with an extra pipe | to node reader.js ? p2000.py -> rtl_fm -f 169.65M -M fm -s 22050 | multimon-ng -a FLEX -t raw - pagermon -> rtl_fm -f 169.65M -M fm -s 22050 | multimon-ng -a FLEX -t raw /dev/stdin | node reader.js Could these to be combined and processing the same data? |
I don't know... but maybe you can do it just like ha & mqtt, an extra posting method to node.js? |
Hi team
@royvandongen @cyberjunky @bduijnhouwer @Dinges28 My colleagues and I running HASSIO in a VM, there fore we need a separate PI to run the great RTL-SDR P2000 decoder. It seems a bit overkill if everyone is running a separate Pi for decoding.
Could we request a feature request to add multiple HA instances to post messages to, from one Pi as source? Is it as simple to duplicate home-assistent to home-assistant2?
Thanks for your time.
The text was updated successfully, but these errors were encountered: