
The friendlyName is just lifted from Domoticz - so i'm afraid you'd need to change them in Domoticz, delete the discovered devices in ALexa, then rediscover.
Moderator: leecollings
fergalom wrote:They are all dummy dimmers - Type: Light/switch - Switch: DimmerMadgeni wrote:1. Argh! This seems to be a very strange issue, where it seems fine for some people, and wrong for others. What type of Dimmers do you have out of interest?
2. I'll take a look - not sure what happens to the payload, as the integer seems to be there, so not sure why Alexa doesn't interpret it
3. I'm afraid that currently Alexa doesn't support asking via the Smart Home Skill. As soon as it does, i'll implement it. The only way to get this would be to rebuild it as a Custom skill (Alexa, ask 'Home' what the temperature is in the front room etc etc) - but would be a piece of work to do this. I'm loathe to whilst this is allegedly on Alexa's roadmap for Smart Home
4. Can you give me a couple of user stories for multi-selector switches to work with?
Using multi-selectors to enable various airplay speakers around the house, quickly set heating modes, select & play some radio channels.
Interestingly if you ask alexa to set a multi-selector switch to a percentage, it works sort of (the dimming issue skews it).
Take a look at this change - https://github.com/thosirl/alexa_domo/c ... c13480fd7cfergalom wrote:fergalom wrote:They are all dummy dimmers - Type: Light/switch - Switch: DimmerMadgeni wrote:1. Argh! This seems to be a very strange issue, where it seems fine for some people, and wrong for others. What type of Dimmers do you have out of interest?
2. I'll take a look - not sure what happens to the payload, as the integer seems to be there, so not sure why Alexa doesn't interpret it
3. I'm afraid that currently Alexa doesn't support asking via the Smart Home Skill. As soon as it does, i'll implement it. The only way to get this would be to rebuild it as a Custom skill (Alexa, ask 'Home' what the temperature is in the front room etc etc) - but would be a piece of work to do this. I'm loathe to whilst this is allegedly on Alexa's roadmap for Smart Home
4. Can you give me a couple of user stories for multi-selector switches to work with?
Using multi-selectors to enable various airplay speakers around the house, quickly set heating modes, select & play some radio channels.
Interestingly if you ask alexa to set a multi-selector switch to a percentage, it works sort of (the dimming issue skews it).
Coming back to this topic on dimmers, it seems there are 3 types
Dimmer - setlevel range 0-16
Dimmer - setlevel range 0-32
Dimmer - setlevel range 0-100
From a /json.htm?type=devices&rid=348 query, each dimmer lists a "MaxDimLevel:"
Can this be used in your code to implement the correct dimming scale?
Will do this afternoon, thanks for your helpthos wrote:Cool, yes, works for me now too. (That'll teach me for testing remotely!)
Can you make a pull request, and I'll do same back to Madgeni and we can maybe get this all back together?
Code: Select all
{
"header": {
"namespace": "Alexa.ConnectedHome.Discovery",
"name": "DiscoverAppliancesResponse",
"payloadVersion": "2"
},
"payload": {
"discoveredAppliances": [
{
"applianceId": "509",
"manufacturerName": "Y-Hub",
"modelName": "RGBW",
"version": "Dimmer",
"friendlyName": "Wohnzimmer Stehlampe",
"friendlyDescription": "Lighting Limitless/Applamp",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
},
{
"applianceId": "257",
"manufacturerName": "TRX",
"modelName": "AC",
"version": "On/Off",
"friendlyName": "Jonas Lampinons",
"friendlyDescription": "Lighting 2",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "55",
"manufacturerName": "Temperatur Büro",
"modelName": "THR128/138, THC138",
"version": "temp",
"friendlyName": "Büro",
"friendlyDescription": "Temp",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "17",
"manufacturerName": "Brauchwasserwärmepumpe",
"modelName": "AC",
"version": "On/Off",
"friendlyName": "Brauchwasserwärmepumpe",
"friendlyDescription": "Lighting 2",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "477",
"manufacturerName": "TRX",
"modelName": "ELRO AB400",
"version": "On/Off",
"friendlyName": "Lichterkette DG",
"friendlyDescription": "Lighting 1",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "199",
"manufacturerName": "Sauna",
"modelName": "SetPoint",
"version": "temp",
"friendlyName": "Sauna Temperatur",
"friendlyDescription": "Thermostat",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "35",
"manufacturerName": "TRX",
"modelName": "RFY",
"version": "Venetian Blinds US",
"friendlyName": "Jonas",
"friendlyDescription": "RFY",
"isReachable": true,
"actions": [
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Venetian Blinds US",
"WhatAmI": "blind"
}
},
{
"applianceId": "478",
"manufacturerName": "Harmony Hub",
"modelName": "AC",
"version": "Push On Button",
"friendlyName": "Alles aus",
"friendlyDescription": "Lighting 2",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Push On Button",
"WhatAmI": "light"
}
},
{
"applianceId": "203",
"manufacturerName": "Brauchwasserwärmepumpe",
"modelName": "THR128/138, THC138",
"version": "temp",
"friendlyName": "Brauchwasser",
"friendlyDescription": "Temp",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "523",
"manufacturerName": "Samsung Navibot",
"modelName": "Switch",
"version": "Push On Button",
"friendlyName": "Saugroboter Start/Stop",
"friendlyDescription": "Light/Switch",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Push On Button",
"WhatAmI": "light"
}
},
{
"applianceId": "256",
"manufacturerName": "TRX",
"modelName": "AC",
"version": "On/Off",
"friendlyName": "Jonas Licht",
"friendlyDescription": "Lighting 2",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "13",
"manufacturerName": "Keller-Temperatur",
"modelName": "THR128/138, THC138",
"version": "temp",
"friendlyName": "WP-Ablufttemperatur",
"friendlyDescription": "Temp",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "202",
"manufacturerName": "Sauna",
"modelName": "THR128/138, THC138",
"version": "temp",
"friendlyName": "Sauna",
"friendlyDescription": "Temp",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "34",
"manufacturerName": "TRX",
"modelName": "RFY",
"version": "Blinds Inverted",
"friendlyName": "Wintergarten horizontal",
"friendlyDescription": "RFY",
"isReachable": true,
"actions": [
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Blinds Inverted",
"WhatAmI": "blind"
}
},
{
"applianceId": "488",
"manufacturerName": "Harmony Hub",
"modelName": "AC",
"version": "Push On Button",
"friendlyName": "Ambiente Beleuchtung",
"friendlyDescription": "Lighting 2",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Push On Button",
"WhatAmI": "light"
}
},
{
"applianceId": "200",
"manufacturerName": "Sauna",
"modelName": "AC",
"version": "On/Off",
"friendlyName": "Sauna",
"friendlyDescription": "Lighting 2",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "526",
"manufacturerName": "TRX",
"modelName": "ARC",
"version": "On/Off",
"friendlyName": "Heizlüfter Bad DG",
"friendlyDescription": "Lighting 1",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "490",
"manufacturerName": "TRX",
"modelName": "ELRO AB400",
"version": "On/Off",
"friendlyName": "Luftbefeuchter",
"friendlyDescription": "Lighting 1",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
},
{
"applianceId": "33",
"manufacturerName": "TRX",
"modelName": "RFY",
"version": "Blinds Inverted",
"friendlyName": "Wintergarten vertikal",
"friendlyDescription": "RFY",
"isReachable": true,
"actions": [
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Blinds Inverted",
"WhatAmI": "blind"
}
},
{
"applianceId": "460",
"manufacturerName": "TRX",
"modelName": "Alecto WS1700",
"version": "temp",
"friendlyName": "Wohnzimmer",
"friendlyDescription": "Temp + Humidity",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "39",
"manufacturerName": "TRX",
"modelName": "Imagintronix",
"version": "temp",
"friendlyName": "Erdfeuchte Pflanzen DG",
"friendlyDescription": "Temp + Humidity",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "36",
"manufacturerName": "TRX",
"modelName": "RFY",
"version": "Venetian Blinds US",
"friendlyName": "Charlotte",
"friendlyDescription": "RFY",
"isReachable": true,
"actions": [
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Venetian Blinds US",
"WhatAmI": "blind"
}
},
{
"applianceId": "468",
"manufacturerName": "TRX",
"modelName": "Alecto WS1700",
"version": "temp",
"friendlyName": "Flur im DG",
"friendlyDescription": "Temp + Humidity",
"isReachable": true,
"actions": [
"setTargetTemperature"
],
"additionalApplianceDetails": {
"WhatAmI": "temp"
}
},
{
"applianceId": "491",
"manufacturerName": "Y-Hub",
"modelName": "RGBW",
"version": "Dimmer",
"friendlyName": "Schlafzimmer Nachtlicht",
"friendlyDescription": "Lighting Limitless/Applamp",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "Dimmer",
"WhatAmI": "light"
}
},
{
"applianceId": "236",
"manufacturerName": "FritzBox",
"modelName": "AC",
"version": "On/Off",
"friendlyName": "Anruf",
"friendlyDescription": "Lighting 2",
"isReachable": true,
"actions": [
"incrementPercentage",
"decrementPercentage",
"setPercentage",
"turnOn",
"turnOff"
],
"additionalApplianceDetails": {
"switchis": "On/Off",
"WhatAmI": "light"
}
}
]
}
}
Code: Select all
17:54:43
START RequestId: 87103a08-da82-11e6-9da3-3fb737760ad9 Version: $LATEST
START RequestId: 87103a08-da82-11e6-9da3-3fb737760ad9 Version: $LATEST
17:54:55
END RequestId: 87103a08-da82-11e6-9da3-3fb737760ad9
END RequestId: 87103a08-da82-11e6-9da3-3fb737760ad9
17:54:55
REPORT RequestId: 87103a08-da82-11e6-9da3-3fb737760ad9 Duration: 12433.59 ms Billed Duration: 12500 ms Memory Size: 512 MB Max Memory Used: 41 MB
REPORT RequestId: 87103a08-da82-11e6-9da3-3fb737760ad9 Duration: 12433.59 ms Billed Duration: 12500 ms Memory Size: 512 MB Max Memory Used: 41 MB
The lambda test function indeed runs correctly in EU, but somehow the communication between Alexa Smarthome skill and a lambda function in EU goes wrong.Itschi wrote:Yes, tried EU Ireland and N. Verginia. As I said, the Lambda test works and discovers my devices and I can see that searching the devices with the app results in a log entry for the Lambda function (also in EU). The alexa skill definitly triggers the Lambda function. The device dicovery takes 15s. Maybe that's a problem?
cd habridge
sudo ./starthabridge.sh
Users browsing this forum: No registered users and 1 guest