Cours:InfoEmbarquee : Différence entre versions
(Page créée avec « =Attiny10= * [https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/ATtiny4-5-9-10-Data-Sheet-DS40002060A.pdf datasheetAttiny10] ») |
|||
Ligne 2 : | Ligne 2 : | ||
* [https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/ATtiny4-5-9-10-Data-Sheet-DS40002060A.pdf datasheetAttiny10] | * [https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/ATtiny4-5-9-10-Data-Sheet-DS40002060A.pdf datasheetAttiny10] | ||
+ | |||
+ | |||
+ | |||
+ | =script shell= | ||
+ | |||
+ | |||
+ | ==mqtt== | ||
+ | |||
+ | <source lang=bash> | ||
+ | |||
+ | homeassistant/power/chauffeEau3/config {"name": "chauffeEau3", "unique_id": "chauffeEau3Switch", "command_topic": "homeassistant/power/chauffeEau3/set", "state_topic": "homeassistant/power/chauffeEau3/state"} | ||
+ | |||
+ | |||
+ | homeassistant/binary_sensor/bpLumCine/config {"name": "bpLumCine", "unique_id": "bpLumCine", "state_topic": "homeassistant/binary_sensor/bpLumCine/state"} | ||
+ | |||
+ | homeassistant/sensor/PsolaireCabane/config {"device_class":"power","name":"PsolaireCabane","state_topic":"homeassistant/sensor/PsolaireCabane/state","unique_id":"PsolaireCabane","unit_of_measurement":"W"} | ||
+ | |||
+ | homeassistant/sensor/victronSocbatterie/config {"device_class":"battery","name":"victronSocbatterie","state_topic":"homeassistant/sensor/victronSocbatterie/state","unique_id":"victronSocbatterie","unit_of_measurement":"%"} | ||
+ | </source> |
Version du 4 septembre 2023 à 20:19
Attiny10
script shell
mqtt
homeassistant/power/chauffeEau3/config {"name": "chauffeEau3", "unique_id": "chauffeEau3Switch", "command_topic": "homeassistant/power/chauffeEau3/set", "state_topic": "homeassistant/power/chauffeEau3/state"}
homeassistant/binary_sensor/bpLumCine/config {"name": "bpLumCine", "unique_id": "bpLumCine", "state_topic": "homeassistant/binary_sensor/bpLumCine/state"}
homeassistant/sensor/PsolaireCabane/config {"device_class":"power","name":"PsolaireCabane","state_topic":"homeassistant/sensor/PsolaireCabane/state","unique_id":"PsolaireCabane","unit_of_measurement":"W"}
homeassistant/sensor/victronSocbatterie/config {"device_class":"battery","name":"victronSocbatterie","state_topic":"homeassistant/sensor/victronSocbatterie/state","unique_id":"victronSocbatterie","unit_of_measurement":"%"}