I do have a Python script who retrieve me some data saved in a json format.
Using RESTful or Scrape Sensor are actually not possible (I will dig for it later).
Question 1:
Since the file is loaded, is there a way to register more sensors ?
Question 2:
Is it possible to define a scan interval like “Scrape sensor” ?
Question 3:
I do have a python script creating the json file and I was wondering if I can setup an automatic process to trigger it every 10 minutes and update all related sensors ? I’m pretty sure this is possible but I do have no idea how to achieve this so far.
Note:
The file is correctly read and display is fine with the current sensor configuration.
Thanks !
I will check this option to update homeassistant.
I rebuild my python script and I sent my json content to MQTT and created individual mqtt sensors.
Another way to achieve it is to create sensors, one per one, and not grouped. At list, no need to read the same file multiple times ;o)
I have a similar problem with my BLE Gateway that sends out an MQTT JSON file combining all BLE sensors and beacons connected to the gateway. At home I have only 5 for testing, but later in our warehouse maybe up to 100. Can someone help/guide me on how to read this JSON file and use it to create new sensors in HA and update their statuses accordingly