i’ve done some debugging… put Cloud components in debug there are the messages:
– switch LED to blue color:
2019-01-09 11:26:04 DEBUG (MainThread) [homeassistant.components.cloud.iot] Received message:
{'handler': 'alexa',
'msgid': 'b25c8995-e722-4e23-bdd1-3d3e24961b0a',
'payload': {'directive': {'endpoint': {'cookie': {},
'endpointId': 'light#led_letto',
'scope': {'token': 'eyJraWQiOiJGTzR4d08xNUJzbDZVVFpwd1ROek8wRVUzeXMxRm1QaERCWmpmU1wvS1llZz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJkZmNlYjI4OC1hNTVjLTQ1NmUtODJkYy0xMWEzNTM4MzlkYjciLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIiwiYXV0aF90aW1lIjoxNTQwNzQ3NTI3LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZWFzdC0xLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMV84N2xsNVdPUDgiLCJleHAiOjE1NDcwMzMxNTMsImlhdCI6MTU0NzAyOTU1MywidmVyc2lvbiI6MiwianRpIjoiZGExY2Y0ZmQtMzdiMy00NTVjLTgwMDgtY2VlNDkzMmNjMmUzIiwiY2xpZW50X2lkIjoic2xkajZjY3ZwdG5hdDVzZXRrNmI1b2VpYiIsInVzZXJuYW1lIjoiZGZjZWIyODgtYTU1Yy00NTZlLTgyZGMtMTFhMzUzODM5ZGI3In0.SQl5mgO2R8RSDtH36PbaVtHz31IJvifxb191Sx3yk7lKXeW-Eoqb7LsdaHTZ8uDv9-AWeE3U_bXgP8RCUs96tYG-T94Acs_jLilciH1_2AfxzXUxynIpvFdfWvk3uzy_vqqbxbPwld5DzQ0RJ6uJknPPFhA0zTHQdp6LxBQsD6M_a7JD1DmuNtvNA3JxI2FuHoeknjtO0hH-xSLSpjs4lFANPRRvvuPteMbEdu7C9H5a8X_IKA85iTe2J9ZJTbS-AZUtcbBHV1kGG3RS37Fkq_crGAgWnoDf6asOrOaF0H_hOX3MbOo0HJ2s5BK-l5zR1eEiBe5He8Fy_-FYMj6CWg',
'type': 'BearerToken'}},
'header': {'correlationToken': 'AAAAAAAAAQBVXXV603XkwY9qyCMb48SSDAIAAAAAAACbGOxPMokXduXbqwW+QTDJQki33iDFHnd2a2ANPXtYPu8QHlYvpaNGqP7gvmLNLVsGfpJZ5HcqwZIgIp4xq+b1Qx463Y+zlcBFtQSKGBTGfDU0TjYWyoG07epMMfNBCR46PgT2NJiWn91IKcvfnLNGoSrWeEFpivFYaFA6zqVJ3PUbMKDpEZ1vaJT+FSej/T3vI5J8fIsDk+H30Eak2qbl78yBGkLs41AyFM9dgvdkJYxOw7q69A5K2Q6MFzVGtAaUVKobPexlPlB2w5vHAu6G620Rm5XaCg+CZX4TqloNd8QuCJn42YBLIAh4ACNTr2PtNoqhlB45rprXgd3ZHtI1JRY+ka8lnmAFa8oBjnApf9LrmEw7cKw6x2UyPUbyI50Dr2GpPb62AO24oEA+zx2PCgINh7ziNampdU1UEYX1ZGv2vrKaQbg+wFbrcJW9AIo8N57pvv9NelRupdIoUjbjE8MbVvOpQRujZk3Kh/ch6QFdZAfbHVHQEG+4D1jB6psoWbiuHYsnsaymZA513HxXRToM+chCHSHYNhbGU2uJ12I4dN+4jejNXrOkbHFXSfFEzeCbIYCdTBX9y/UjM77aKAxyJlzHU4ZZ83MV3He02i9+PL2wzJUFA2b/nb6uppEU4p4JNYL+NyC99VQqCOxzFO7Zc2ncymYDlA+bR7OSCBJO2OsuMrEoqNtflA==',
'messageId': '5608fa7b-e1c6-41c6-955c-31c51ae0c3c6',
'name': 'SetColor',
'namespace': 'Alexa.ColorController',
'payloadVersion': '3'},
'payload': {'color': {'brightness': 1.0,
'hue': 240.0,
'saturation': 1.0}}}}}
2019-01-09 11:26:04 DEBUG (MainThread) [homeassistant.components.cloud.iot] Publishing message:
{'msgid': 'b25c8995-e722-4e23-bdd1-3d3e24961b0a',
'payload': {'context': {'properties': [{'name': 'powerState',
'namespace': 'Alexa.PowerController',
'value': 'ON'},
{'name': 'brightness',
'namespace': 'Alexa.BrightnessController',
'value': 65},
{'name': 'color',
'namespace': 'Alexa.ColorController',
'value': {'brightness': 0.6470588235294118,
'hue': 0,
'saturation': 0.0}},
{'name': 'colorTemperatureInKelvin',
'namespace': 'Alexa.ColorTemperatureController',
'value': 4000}]},
'event': {'endpoint': {'cookie': {},
'endpointId': 'light#led_letto',
'scope': {'token': 'eyJraWQiOiJGTzR4d08xNUJzbDZVVFpwd1ROek8wRVUzeXMxRm1QaERCWmpmU1wvS1llZz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJkZmNlYjI4OC1hNTVjLTQ1NmUtODJkYy0xMWEzNTM4MzlkYjciLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIiwiYXV0aF90aW1lIjoxNTQwNzQ3NTI3LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZWFzdC0xLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMV84N2xsNVdPUDgiLCJleHAiOjE1NDcwMzMxNTMsImlhdCI6MTU0NzAyOTU1MywidmVyc2lvbiI6MiwianRpIjoiZGExY2Y0ZmQtMzdiMy00NTVjLTgwMDgtY2VlNDkzMmNjMmUzIiwiY2xpZW50X2lkIjoic2xkajZjY3ZwdG5hdDVzZXRrNmI1b2VpYiIsInVzZXJuYW1lIjoiZGZjZWIyODgtYTU1Yy00NTZlLTgyZGMtMTFhMzUzODM5ZGI3In0.SQl5mgO2R8RSDtH36PbaVtHz31IJvifxb191Sx3yk7lKXeW-Eoqb7LsdaHTZ8uDv9-AWeE3U_bXgP8RCUs96tYG-T94Acs_jLilciH1_2AfxzXUxynIpvFdfWvk3uzy_vqqbxbPwld5DzQ0RJ6uJknPPFhA0zTHQdp6LxBQsD6M_a7JD1DmuNtvNA3JxI2FuHoeknjtO0hH-xSLSpjs4lFANPRRvvuPteMbEdu7C9H5a8X_IKA85iTe2J9ZJTbS-AZUtcbBHV1kGG3RS37Fkq_crGAgWnoDf6asOrOaF0H_hOX3MbOo0HJ2s5BK-l5zR1eEiBe5He8Fy_-FYMj6CWg',
'type': 'BearerToken'}},
'header': {'correlationToken': 'AAAAAAAAAQBVXXV603XkwY9qyCMb48SSDAIAAAAAAACbGOxPMokXduXbqwW+QTDJQki33iDFHnd2a2ANPXtYPu8QHlYvpaNGqP7gvmLNLVsGfpJZ5HcqwZIgIp4xq+b1Qx463Y+zlcBFtQSKGBTGfDU0TjYWyoG07epMMfNBCR46PgT2NJiWn91IKcvfnLNGoSrWeEFpivFYaFA6zqVJ3PUbMKDpEZ1vaJT+FSej/T3vI5J8fIsDk+H30Eak2qbl78yBGkLs41AyFM9dgvdkJYxOw7q69A5K2Q6MFzVGtAaUVKobPexlPlB2w5vHAu6G620Rm5XaCg+CZX4TqloNd8QuCJn42YBLIAh4ACNTr2PtNoqhlB45rprXgd3ZHtI1JRY+ka8lnmAFa8oBjnApf9LrmEw7cKw6x2UyPUbyI50Dr2GpPb62AO24oEA+zx2PCgINh7ziNampdU1UEYX1ZGv2vrKaQbg+wFbrcJW9AIo8N57pvv9NelRupdIoUjbjE8MbVvOpQRujZk3Kh/ch6QFdZAfbHVHQEG+4D1jB6psoWbiuHYsnsaymZA513HxXRToM+chCHSHYNhbGU2uJ12I4dN+4jejNXrOkbHFXSfFEzeCbIYCdTBX9y/UjM77aKAxyJlzHU4ZZ83MV3He02i9+PL2wzJUFA2b/nb6uppEU4p4JNYL+NyC99VQqCOxzFO7Zc2ncymYDlA+bR7OSCBJO2OsuMrEoqNtflA==',
'messageId': '95ee3ae6-acc8-47a8-a1d7-d4da19767ed3',
'name': 'Response',
'namespace': 'Alexa',
'payloadVersion': '3'},
'payload': {}}}}
– switch LED to white:
2019-01-09 11:26:13 DEBUG (MainThread) [homeassistant.components.cloud.iot] Received message:
{'handler': 'alexa',
'msgid': '12641f0a-7016-4b89-8fa3-4972fa99960b',
'payload': {'directive': {'endpoint': {'cookie': {},
'endpointId': 'light#led_letto',
'scope': {'token': 'eyJraWQiOiJGTzR4d08xNUJzbDZVVFpwd1ROek8wRVUzeXMxRm1QaERCWmpmU1wvS1llZz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJkZmNlYjI4OC1hNTVjLTQ1NmUtODJkYy0xMWEzNTM4MzlkYjciLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIiwiYXV0aF90aW1lIjoxNTQwNzQ3NTI3LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZWFzdC0xLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMV84N2xsNVdPUDgiLCJleHAiOjE1NDcwMzMxNTMsImlhdCI6MTU0NzAyOTU1MywidmVyc2lvbiI6MiwianRpIjoiZGExY2Y0ZmQtMzdiMy00NTVjLTgwMDgtY2VlNDkzMmNjMmUzIiwiY2xpZW50X2lkIjoic2xkajZjY3ZwdG5hdDVzZXRrNmI1b2VpYiIsInVzZXJuYW1lIjoiZGZjZWIyODgtYTU1Yy00NTZlLTgyZGMtMTFhMzUzODM5ZGI3In0.SQl5mgO2R8RSDtH36PbaVtHz31IJvifxb191Sx3yk7lKXeW-Eoqb7LsdaHTZ8uDv9-AWeE3U_bXgP8RCUs96tYG-T94Acs_jLilciH1_2AfxzXUxynIpvFdfWvk3uzy_vqqbxbPwld5DzQ0RJ6uJknPPFhA0zTHQdp6LxBQsD6M_a7JD1DmuNtvNA3JxI2FuHoeknjtO0hH-xSLSpjs4lFANPRRvvuPteMbEdu7C9H5a8X_IKA85iTe2J9ZJTbS-AZUtcbBHV1kGG3RS37Fkq_crGAgWnoDf6asOrOaF0H_hOX3MbOo0HJ2s5BK-l5zR1eEiBe5He8Fy_-FYMj6CWg',
'type': 'BearerToken'}},
'header': {'correlationToken': 'AAAAAAAAAQBVXXV603XkwY9qyCMb48SSDAIAAAAAAADOW+QQyD98FB9muhSTysEP0b8sTFOmPSDMvEFDrXODl/Xxnac+z+jb6aoF3VNrZ4tBNlWOL9qJu7xeF3nRRqC+1IDgHaVMk7UotUPuFz1wWDgtvhXzz0KdB4u4zzEJBzhrkrmq2bdj9lnAMtc0SvoL6t7e8OppWsbmmoJ7YidtELi/AF97AWkPgoOfjRo7IWko4y1i3je8TSpzi13Hpg4XOPkUjSVNk8IL/MjOU3bwzFgEQNPxhZzuV25nSQj5SSA05z9PQTiEc2vj2f2Ht+FS88HFpESwcjdKhDnPdsTdPxu0g8n8fafkU5EMnfEMBs8g5cEDYXblUej+NTHzm3JK3m7gT79p26wYaTfCQt/2whPGkEj4H/3zhMHSv61sCkSWr4cc4iG7/PBe3co9PoR7lxNvqvbeEoe+xjp5UX2e3mZDxCjy7T0nhxnZGiMPOpuOX4an83lseqra9i7ZpMZLrJdaiODz/iJ73zkq0wV6JTeZ2BQYh/GugSbQAIxZvvVlBjFjozqTo+URXh3P/1HGK83VvxZzmAbTW1EJex1PM8tN3ZZrtiN3vuC8WZ0gIxNwg4JIwhuDX6VEDplh+AE5dtyjBZXw+Wq7GcVYigAvpthatX06x09eQMLhkqBZJtR5K7f5vq79ervqmvosoRDzVDecu+FSd1bfnLo4DUuIOEQSJup8xUGk5fPqXQ==',
'messageId': '99c237e3-8777-4dda-bfa1-a1948d62585c',
'name': 'SetColorTemperature',
'namespace': 'Alexa.ColorTemperatureController',
'payloadVersion': '3'},
'payload': {'colorTemperatureInKelvin': 4000}}}}
2019-01-09 11:26:13 DEBUG (MainThread) [homeassistant.components.cloud.iot] Publishing message:
{'msgid': '12641f0a-7016-4b89-8fa3-4972fa99960b',
'payload': {'context': {'properties': [{'name': 'powerState',
'namespace': 'Alexa.PowerController',
'value': 'ON'},
{'name': 'brightness',
'namespace': 'Alexa.BrightnessController',
'value': 65},
{'name': 'color',
'namespace': 'Alexa.ColorController',
'value': {'brightness': 0.6470588235294118,
'hue': 255.059,
'saturation': 1.0}},
{'name': 'colorTemperatureInKelvin',
'namespace': 'Alexa.ColorTemperatureController',
'value': 0}]},
'event': {'endpoint': {'cookie': {},
'endpointId': 'light#led_letto',
'scope': {'token': 'eyJraWQiOiJGTzR4d08xNUJzbDZVVFpwd1ROek8wRVUzeXMxRm1QaERCWmpmU1wvS1llZz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJkZmNlYjI4OC1hNTVjLTQ1NmUtODJkYy0xMWEzNTM4MzlkYjciLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIiwiYXV0aF90aW1lIjoxNTQwNzQ3NTI3LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZWFzdC0xLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMV84N2xsNVdPUDgiLCJleHAiOjE1NDcwMzMxNTMsImlhdCI6MTU0NzAyOTU1MywidmVyc2lvbiI6MiwianRpIjoiZGExY2Y0ZmQtMzdiMy00NTVjLTgwMDgtY2VlNDkzMmNjMmUzIiwiY2xpZW50X2lkIjoic2xkajZjY3ZwdG5hdDVzZXRrNmI1b2VpYiIsInVzZXJuYW1lIjoiZGZjZWIyODgtYTU1Yy00NTZlLTgyZGMtMTFhMzUzODM5ZGI3In0.SQl5mgO2R8RSDtH36PbaVtHz31IJvifxb191Sx3yk7lKXeW-Eoqb7LsdaHTZ8uDv9-AWeE3U_bXgP8RCUs96tYG-T94Acs_jLilciH1_2AfxzXUxynIpvFdfWvk3uzy_vqqbxbPwld5DzQ0RJ6uJknPPFhA0zTHQdp6LxBQsD6M_a7JD1DmuNtvNA3JxI2FuHoeknjtO0hH-xSLSpjs4lFANPRRvvuPteMbEdu7C9H5a8X_IKA85iTe2J9ZJTbS-AZUtcbBHV1kGG3RS37Fkq_crGAgWnoDf6asOrOaF0H_hOX3MbOo0HJ2s5BK-l5zR1eEiBe5He8Fy_-FYMj6CWg',
'type': 'BearerToken'}},
'header': {'correlationToken': 'AAAAAAAAAQBVXXV603XkwY9qyCMb48SSDAIAAAAAAADOW+QQyD98FB9muhSTysEP0b8sTFOmPSDMvEFDrXODl/Xxnac+z+jb6aoF3VNrZ4tBNlWOL9qJu7xeF3nRRqC+1IDgHaVMk7UotUPuFz1wWDgtvhXzz0KdB4u4zzEJBzhrkrmq2bdj9lnAMtc0SvoL6t7e8OppWsbmmoJ7YidtELi/AF97AWkPgoOfjRo7IWko4y1i3je8TSpzi13Hpg4XOPkUjSVNk8IL/MjOU3bwzFgEQNPxhZzuV25nSQj5SSA05z9PQTiEc2vj2f2Ht+FS88HFpESwcjdKhDnPdsTdPxu0g8n8fafkU5EMnfEMBs8g5cEDYXblUej+NTHzm3JK3m7gT79p26wYaTfCQt/2whPGkEj4H/3zhMHSv61sCkSWr4cc4iG7/PBe3co9PoR7lxNvqvbeEoe+xjp5UX2e3mZDxCjy7T0nhxnZGiMPOpuOX4an83lseqra9i7ZpMZLrJdaiODz/iJ73zkq0wV6JTeZ2BQYh/GugSbQAIxZvvVlBjFjozqTo+URXh3P/1HGK83VvxZzmAbTW1EJex1PM8tN3ZZrtiN3vuC8WZ0gIxNwg4JIwhuDX6VEDplh+AE5dtyjBZXw+Wq7GcVYigAvpthatX06x09eQMLhkqBZJtR5K7f5vq79ervqmvosoRDzVDecu+FSd1bfnLo4DUuIOEQSJup8xUGk5fPqXQ==',
'messageId': '483a0760-93b9-4fff-9f1d-cdcb982d0574',
'name': 'Response',
'namespace': 'Alexa',
'payloadVersion': '3'},
'payload': {}}}}
The different is on the method of set white color. In this case it’s use Kelvin temperature… and in this case Alexa reports error