sidoh / esp8266_milight_hub

Replacement for a Milight/LimitlessLED hub hosted on an ESP8266
MIT License
944 stars 220 forks source link

FUT089 Controlling two FUT103 Hub can only control one #671

Closed farbefreak closed 3 years ago

farbefreak commented 3 years ago

Hello Sidoh. First of all: Thanks for your work.

I have 2x FUT103 that are connected to the same group (3) on my FUT089 remote. Every thing works fine. Both lights respond as expected to the Remote. Indicating a successful paring.

If I setup the Side-Hub I spoof the FUT089 ID and control all lights with this spoofed id. Only one FUT103 reacts to the hub. If I try to pair the FUT103 to the hub only one of them pairs to the hub. The other one does not respond.

screenshot

Steps to reproduce

1.Pair 2x FUT103 to a FUT089

  1. Spoof ID from FUT089 with Hub
  2. Control both FUT103

    Expected behavior

Both FUT103 respond to the same group.

Firmware version

1.10.5 (esp07)

Output of http://milight-hub.local/about

{"firmware":"milight-hub","version":"1.10.5","ip_address":"192.168.0.87","reset_reason":"Software/System restart","variant":"esp07","free_heap":17216,"arduino_version":"2_4_2","queue_stats":{"length":0,"dropped_packets":0}}

Output of http://milight-hub.local/settings


{"admin_username":"**","admin_password":"**","ce_pin":5,"csn_pin":15,"reset_pin":0,"led_pin":-2,"radio_interface_type":"nRF24","packet_repeats":30,"http_repeat_factor":1,"auto_restart_period":120,"mqtt_server":"192.168.0.25","mqtt_username":"**","mqtt_password":"**","mqtt_topic_pattern":"milight/:device_id/:device_type/:group_id","mqtt_update_topic_pattern":"","mqtt_state_topic_pattern":"milight/states/:hex_device_id/:device_type/:group_id","mqtt_client_status_topic":"milight/client_status","simple_mqtt_client_status":true,"discovery_port":48899,"listen_repeats":3,"state_flush_interval":10000,"mqtt_state_rate_limit":100,"packet_repeat_throttle_sensitivity":0,"packet_repeat_throttle_threshold":20,"packet_repeat_minimum":3,"enable_automatic_mode_switching":false,"led_mode_wifi_config":"Fast toggle","led_mode_wifi_failed":"On","led_mode_operating":"Off","led_mode_packet":"Off","led_mode_packet_count":1,"hostname":"milight-hub","rf24_power_level":"MAX","rf24_listen_channel":"MID","wifi_static_ip":"192.168.0.87","wifi_static_ip_gateway":"192.168.0.1","wifi_static_ip_netmask":"255.255.255.0","packet_repeats_per_loop":10,"home_assistant_discovery_prefix":"homeassistant","wifi_mode":"n","default_transition_period":0,"rf24_channels":["LOW","MID","HIGH"],"device_ids":[4369,5452,7221,8738,10277],"gateway_configs":[],"group_state_fields":["state","brightness","mode","color_temp","bulb_mode","computed_color"],"group_id_aliases":{"Bett":["rgbw",10277,1],"Boxen":["fut089",7221,1],"Couchtisch":["fut089",7221,3],"Decken LED":["fut089",7221,2],"Schlafzimmer":["fut089",4369,8],"Schreibtisch":["fut089",8738,1],"ambilight":["fut089",7221,7]}}```
farbefreak commented 3 years ago

Hello!

I manage to finde the issue.. I am silly, the firmware is working correctly! This is not a bug!

my nrf24 module has very bad reception / transmit power/distance. One FUT103 was in reach, the other one wasn't. Only one light switched because of the bigger distance between it and the hub.

The distance difference was only 0,5m and the overall distance is around 3m so I didn't expect this could be an issue. However changing the module against a better one / different clone got my issue solved.