Bonjour,
J’ai un module Milght Hub en version 1.11.2
J’ai 6 spots et un bouton de commande RGB-CCT
Il est bien reconnu dans mqtt en temps que milight-hub, part-contre j’ai fonctionnement bizarre.
Il ne garde pas (ha) la valeur on/off.
exemple en image:

card button & card RGB light

et mes lampes sont eteintes !
Y-a-t-il une config à faire dans milight Hub ou peut etre une card special à utiliser.
Ma configuration
System Information
version |
core-2024.7.1 |
installation_type |
Home Assistant OS |
dev |
false |
hassio |
true |
docker |
true |
user |
root |
virtualenv |
false |
python_version |
3.12.4 |
os_name |
Linux |
os_version |
6.6.33-haos |
arch |
x86_64 |
timezone |
Europe/Paris |
config_dir |
/config |
Home Assistant Community Store
GitHub API |
ok |
GitHub Content |
ok |
GitHub Web |
ok |
GitHub API Calls Remaining |
5000 |
Installed Version |
1.34.0 |
Stage |
running |
Available Repositories |
1390 |
Downloaded Repositories |
17 |
HACS Data |
ok |
Home Assistant Cloud
logged_in |
false |
can_reach_cert_server |
ok |
can_reach_cloud_auth |
ok |
can_reach_cloud |
ok |
Home Assistant Supervisor
host_os |
Home Assistant OS 12.4 |
update_channel |
stable |
supervisor_version |
supervisor-2024.06.2 |
agent_version |
1.6.0 |
docker_version |
26.1.4 |
disk_total |
30.8 GB |
disk_used |
9.1 GB |
healthy |
true |
supported |
true |
host_connectivity |
true |
supervisor_connectivity |
true |
ntp_synchronized |
true |
virtualization |
kvm |
board |
ova |
supervisor_api |
ok |
version_api |
ok |
installed_addons |
Terminal & SSH (9.14.0), Studio Code Server (5.15.0), InfluxDB (5.0.0), Grafana (10.0.0), AppDaemon (0.16.6), TasmoAdmin (0.30.3) |
Dashboards
dashboards |
6 |
resources |
13 |
views |
15 |
mode |
storage |
Recorder
oldest_recorder_run |
30 juin 2024 à 15:13 |
current_recorder_run |
7 juillet 2024 à 14:33 |
estimated_db_size |
319.80 MiB |
database_engine |
sqlite |
database_version |
3.45.3 |
___
Bonjour, je me reponds à moi même !
Suite à de nombreuse recherche et notament ce lien https://github.com/Strontvlieg/Home-Assistant-MiLight-MQTT-UDP
J’ai reussit à configurer mes elements Milight a la main dans le fichier yaml.
- name: "L-Va-Spot-Plafond-SDB"
unique_id: milight_0x5666_zone_1
command_topic: "milight/commands/0x5666/rgb_cct/1"
state_topic: "milight/states/0x5666/rgb_cct/1"
<<: &MILIGHT_PARAMS_SDB
schema: json
brightness: true
brightness_scale: 100
supported_color_modes:
- color_temp
- rgb
effect: true
effect_list:
- "night_mode"
- "white_mode"
- '0'
- '1'
- '2'
- '3'
- '4'
- '5'
- '6'
- '7'
- '8'
- name: "L-Va-Spot-Casquette-SDB"
unique_id: milight_0x5666_zone_2
command_topic: "milight/commands/0x5666/rgb_cct/2"
state_topic: "milight/states/0x5666/rgb_cct/2"
<<: *MILIGHT_PARAMS_SDB
et cela fonctionne très bien.
Les modifications faites par rapport au lien est du à la depreciation de color_temp/rgb remplacé par supported_color_modes.
