39_gassistant.pm (Google Assistant, Google Home)

Begonnen von dominik, 29 Januar 2019, 21:59:53

Vorheriges Thema - Nächstes Thema

dominik

Fehler im Log gefunden...ich muss mir das noch genauer anschauen. Da muss ich bisschen was umbauen. Melde mich sobald ich fertig bin.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

noname41

Hi,

Ich habe einige rollershutter 3 von fibaro eingebunden.die devices werden leider nicht erkannt.bei manueller genericdevice rollershutter funktionieren sie zwar aber leider umgekehrt (offen ist geschlossen usw.). Kann man das ändern?

Danke!
LG
Klaus

dominik

Zitat von: NePheus am 22 Mai 2020, 18:04:28
Habe ich getestet, genauso wie "mache TV lauter".

Antwort: "Entschuldige, da ist leider ein Fehler aufgetreten, deshalb kann ich dein Smart-Home-Gerät nicht steuern."
Bitte nochmals testen, jetzt sollte auch Volume klappen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: noname41 am 22 Mai 2020, 18:29:23
Hi,

Ich habe einige rollershutter 3 von fibaro eingebunden.die devices werden leider nicht erkannt.bei manueller genericdevice rollershutter funktionieren sie zwar aber leider umgekehrt (offen ist geschlossen usw.). Kann man das ändern?

Danke!
LG
Klaus

Poste mal das jsonlist2 davon, dann kann ich das invertieren.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

noname41

Danke!


Arg":"NAME=ZWave_SWITCH_MULTILEVEL_43",
  "Results": [
  {
    "Name":"ZWave_SWITCH_MULTILEVEL_43",
    "PossibleSets":"alarmnotification associationAdd associationDel configAlarmConfiguration1stSlot configAlarmConfiguration2stSlotWater configAlarmConfiguration3stSlotSmoke configAlarmConfiguration4stSlotCO configAlarmConfiguration5stSlotHeat configByte configDefault configDelayMotorStopAfterReachingEnd154 configEnergyReportsOnChange configEnergyReportsPeriodic configForceCalibration:ForceDeviceCalibration,DeviceIsCalibrated,DeviceIsNotCalibrated configInputsOrientation:Default,Reversed configLong configMeasuringPowerConsumedByThe60:Disabled,Enabled configMotorOperationDetection configOperatingMode:rollerBlindWithBuiltInDriver,gateWithoutPositioning,VenetianBlind,gateWithPositioning,RollerBlind,rollerBlindWithBuiltInDriver6 configOutputsOrientation:Reversed,Default configPowerReportsOnChange configPowerReportsPeriodic configS1SwitchScenesSent configS2SwitchScenesSent configSetSlatsBackToPreviousPosition:OnlyInCaseOfTheMainController0,InCaseOfTheMainController2,InCaseOfTheMainController1 configSwitchType:SingleMomentarySwitch,MomentarySwitches,ToggleSwitches configTimeOfDownMovement configTimeOfUpMovement configVenetianBlindTimeOfFullTurnOfThe152 configWord dim:slider,0,1,99 dimUpDown dimUpDownIncDecWithDuration dimUpDownWithDuration dimWithDuration fwUpdate mcCreateAll:noArg mcaAdd mcaDel meterReset:noArg neighborUpdate:noArg off:noArg on:noArg powerlevel powerlevelTest protectionBytes protectionOff:noArg protectionOn:noArg protectionSeq:noArg returnRouteAdd returnRouteDel:noArg secSupportedReport:noArg stop:noArg intervals off-for-timer on-till blink on-for-timer on-till-overnight toggle off-till-overnight off-till attrTemplate:?,speechcontrol_general_naming_master_template",
    "PossibleAttrs":"alias comment:textField-long eventMap:textField-long group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev WNMI_delay classes disable:0,1 disabledForIntervals do_not_notify:noArg dummy:noArg eventForRaw extendedAlarmReadings:0,1,2 ignore:noArg ignoreDupMsg:noArg neighborListPos noExplorerFrames:noArg noWakeupForApplicationUpdate:noArg secure_classes setExtensionsEvent:1,0 showtime:noArg vclasses useMultiCmd:noArg useCRC16:noArg zwaveRoute event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading ASC:0,1,2 DbLogExclude DbLogInclude TEERKOAlias:textField TEERKOClose:textField TEERKOControl:1,0 TEERKODown:textField TEERKOOff:textField TEERKOOn:textField TEERKOOpen:textField TEERKOPct:textField TEERKORoom:textField TEERKOStart:textField TEERKOStop:textField TEERKOToggle:textField TEERKOUp:textField alexaName alexaRoom assistantName:textField cmdIcon devStateIcon devStateIcon:textField-long devStateStyle fp_Haus fp_Heizung fp_Radio gassistantName:textField genericDeviceType:switch,outlet,light,thermostat,aircondition,airfreshener,airpurifier,camera,coffeemaker,dishwasher,dryer,fan,fireplace,heater,kettle,oven,refrigerator,scene,sprinkler,vacuum,washer,blinds,awning,boiler,curtain,door,garage,gate,hood,lock,microwave,pregola,securitysystem,shutter,shower,valve,waterheater,window,ac_unit,bathtub,bed,blender,closet,coffee_maker,cooktop,dehumidifier,dehydrator,drawer,faucet,fryer,grill,humidifier,mop,mower,multicooker,pergola,petfeeder,pressurecooker,radiator,sousvide,standmixer,yogurtmaker,charger,sensor,carbon_monoxide_detector,remotecontrol,network,router,settop,smoke_detector,tv,waterpurifier,watersoftener homebridgeMapping:textField-long icon realRoom:textField snipsMapping:textField-long snipsName snipsRoom sortby statusreading:textField uiDeviceColor uiDeviceIcon uiDeviceType uiDeviceTypeParameter uiDisplayName uiDisplayOrder uiDisplayRoom uiGet uiOption uiSet uiShow uiWatch webCmd webCmdLabel:textField-long widgetOverride xbmcInfo userattr",
    "Internals": {
      "CFGFN": "",
      "DEF": "c8f37189 43",
      "FUUID": "5ebecf3a-f33f-0e57-3474-2935ca69a0597509",
      "LASTInputDev": "ZWDongle_0",
      "MSGCNT": "22",
      "NAME": "ZWave_SWITCH_MULTILEVEL_43",
      "NR": "17946",
      "STATE": "on",
      "TYPE": "ZWave",
      "ZWDongle_0_MSGCNT": "22",
      "ZWDongle_0_RAWMSG": "0004002b03220200",
      "ZWDongle_0_TIME": "2020-05-20 08:06:22",
      "ZWaveSubDevice": "no",
      "cmdsPending": "0",
      "endpointChildren": "ZWave_Node_43.1,ZWave_SWITCH_MULTILEVEL_43.02",
      "homeId": "c8f37189",
      "isWakeUp": "",
      "lastMsgSent": "1589954782.09133",
      "nodeIdHex": "2b"
    },
    "Readings": {
      "applicationStatus": { "Value":"cmdRejected", "Time":"2020-05-20 08:06:22" },
      "associatedWith": { "Value":"ZWave_Node_43.1,ZWave_SWITCH_MULTILEVEL_43.02", "Time":"2020-05-15 22:15:03" },
      "configForceCalibration": { "Value":"DeviceIsCalibrated", "Time":"2020-05-18 22:13:44" },
      "configTimeOfDownMovement": { "Value":"1972", "Time":"2020-05-18 22:13:45" },
      "configTimeOfUpMovement": { "Value":"2007", "Time":"2020-05-18 22:13:44" },
      "mcCapability_02": { "Value":"ZWAVEPLUS_INFO SWITCH_MULTILEVEL ASSOCIATION MULTI_CHANNEL_ASSOCIATION ASSOCIATION_GRP_INFO SECURITY SECURITY_S2 SUPERVISION APPLICATION_STATUS", "Time":"2020-05-15 19:20:15" },
      "mcEndpoints": { "Value":"total 2, different", "Time":"2020-05-15 19:20:10" },
      "model": { "Value":"FIBARO System FGRM223 Roller Shutter Controller 3", "Time":"2020-05-15 19:20:01" },
      "modelConfig": { "Value":"fibaro/fgr223.xml", "Time":"2020-05-15 19:20:01" },
      "modelId": { "Value":"010f-0303-1000", "Time":"2020-05-15 19:20:01" },
      "state": { "Value":"on", "Time":"2020-05-20 08:06:22" },
      "timeToAck": { "Value":"0.193", "Time":"2020-05-20 08:06:22" },
      "transmit": { "Value":"OK", "Time":"2020-05-20 08:06:22" },
      "zwavePlusInfo": { "Value":" version:01 role:AlwaysOnSlave node:Z-Wave+Node installerIcon:1900 userIcon:1900", "Time":"2020-05-15 19:20:10" }
    },
    "Attributes": {
      "IODev": "ZWDongle_0",
      "alias": "Rollladen küche",
      "classes": "ZWAVEPLUS_INFO SWITCH_MULTILEVEL ASSOCIATION MULTI_CHANNEL_ASSOCIATION ASSOCIATION_GRP_INFO TRANSPORT_SERVICE VERSION MANUFACTURER_SPECIFIC DEVICE_RESET_LOCALLY POWERLEVEL SECURITY SECURITY_S2 METER CONFIGURATION CRC_16_ENCAP ALARM PROTECTION MULTI_CHANNEL CENTRAL_SCENE FIRMWARE_UPDATE_MD APPLICATION_STATUS SUPERVISION",
      "genericDeviceType": "shutter",
      "realRoom": "Küche",
      "room": "GoogleAssistant,Küche,ZWave",
      "vclasses": "ALARM:8 APPLICATION_STATUS:1 ASSOCIATION:2 ASSOCIATION_GRP_INFO:2 CENTRAL_SCENE:3 CONFIGURATION:1 CRC_16_ENCAP:1 DEVICE_RESET_LOCALLY:1 FIRMWARE_UPDATE_MD:4 MANUFACTURER_SPECIFIC:2 METER:3 MULTI_CHANNEL:4 MULTI_CHANNEL_ASSOCIATION:3 POWERLEVEL:1 PROTECTION:2 SECURITY:1 SECURITY_S2:1 SUPERVISION:1 SWITCH_MULTILEVEL:4 TRANSPORT_SERVICE:2 VERSION:2 ZWAVEPLUS_INFO:2"
    }
  }  ],
  "totalResultsReturned":1
}

dominik

Schau ich mir morgen an.

Interessante neue App Action Blocks von Google:
https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.maui.actionblocks

Damit kann man Shortcut Widgets am Homescreen für Google Assistant Befehle machen (z.B. Kaffeemaschine einschalten)
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: noname41 am 22 Mai 2020, 22:44:03
Danke!


Arg":"NAME=ZWave_SWITCH_MULTILEVEL_43",
  "Results": [
  {
    "Name":"ZWave_SWITCH_MULTILEVEL_43",
    "PossibleSets":"alarmnotification associationAdd associationDel configAlarmConfiguration1stSlot configAlarmConfiguration2stSlotWater configAlarmConfiguration3stSlotSmoke configAlarmConfiguration4stSlotCO configAlarmConfiguration5stSlotHeat configByte configDefault configDelayMotorStopAfterReachingEnd154 configEnergyReportsOnChange configEnergyReportsPeriodic configForceCalibration:ForceDeviceCalibration,DeviceIsCalibrated,DeviceIsNotCalibrated configInputsOrientation:Default,Reversed configLong configMeasuringPowerConsumedByThe60:Disabled,Enabled configMotorOperationDetection configOperatingMode:rollerBlindWithBuiltInDriver,gateWithoutPositioning,VenetianBlind,gateWithPositioning,RollerBlind,rollerBlindWithBuiltInDriver6 configOutputsOrientation:Reversed,Default configPowerReportsOnChange configPowerReportsPeriodic configS1SwitchScenesSent configS2SwitchScenesSent configSetSlatsBackToPreviousPosition:OnlyInCaseOfTheMainController0,InCaseOfTheMainController2,InCaseOfTheMainController1 configSwitchType:SingleMomentarySwitch,MomentarySwitches,ToggleSwitches configTimeOfDownMovement configTimeOfUpMovement configVenetianBlindTimeOfFullTurnOfThe152 configWord dim:slider,0,1,99 dimUpDown dimUpDownIncDecWithDuration dimUpDownWithDuration dimWithDuration fwUpdate mcCreateAll:noArg mcaAdd mcaDel meterReset:noArg neighborUpdate:noArg off:noArg on:noArg powerlevel powerlevelTest protectionBytes protectionOff:noArg protectionOn:noArg protectionSeq:noArg returnRouteAdd returnRouteDel:noArg secSupportedReport:noArg stop:noArg intervals off-for-timer on-till blink on-for-timer on-till-overnight toggle off-till-overnight off-till attrTemplate:?,speechcontrol_general_naming_master_template",
    "PossibleAttrs":"alias comment:textField-long eventMap:textField-long group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev WNMI_delay classes disable:0,1 disabledForIntervals do_not_notify:noArg dummy:noArg eventForRaw extendedAlarmReadings:0,1,2 ignore:noArg ignoreDupMsg:noArg neighborListPos noExplorerFrames:noArg noWakeupForApplicationUpdate:noArg secure_classes setExtensionsEvent:1,0 showtime:noArg vclasses useMultiCmd:noArg useCRC16:noArg zwaveRoute event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading ASC:0,1,2 DbLogExclude DbLogInclude TEERKOAlias:textField TEERKOClose:textField TEERKOControl:1,0 TEERKODown:textField TEERKOOff:textField TEERKOOn:textField TEERKOOpen:textField TEERKOPct:textField TEERKORoom:textField TEERKOStart:textField TEERKOStop:textField TEERKOToggle:textField TEERKOUp:textField alexaName alexaRoom assistantName:textField cmdIcon devStateIcon devStateIcon:textField-long devStateStyle fp_Haus fp_Heizung fp_Radio gassistantName:textField genericDeviceType:switch,outlet,light,thermostat,aircondition,airfreshener,airpurifier,camera,coffeemaker,dishwasher,dryer,fan,fireplace,heater,kettle,oven,refrigerator,scene,sprinkler,vacuum,washer,blinds,awning,boiler,curtain,door,garage,gate,hood,lock,microwave,pregola,securitysystem,shutter,shower,valve,waterheater,window,ac_unit,bathtub,bed,blender,closet,coffee_maker,cooktop,dehumidifier,dehydrator,drawer,faucet,fryer,grill,humidifier,mop,mower,multicooker,pergola,petfeeder,pressurecooker,radiator,sousvide,standmixer,yogurtmaker,charger,sensor,carbon_monoxide_detector,remotecontrol,network,router,settop,smoke_detector,tv,waterpurifier,watersoftener homebridgeMapping:textField-long icon realRoom:textField snipsMapping:textField-long snipsName snipsRoom sortby statusreading:textField uiDeviceColor uiDeviceIcon uiDeviceType uiDeviceTypeParameter uiDisplayName uiDisplayOrder uiDisplayRoom uiGet uiOption uiSet uiShow uiWatch webCmd webCmdLabel:textField-long widgetOverride xbmcInfo userattr",
    "Internals": {
      "CFGFN": "",
      "DEF": "c8f37189 43",
      "FUUID": "5ebecf3a-f33f-0e57-3474-2935ca69a0597509",
      "LASTInputDev": "ZWDongle_0",
      "MSGCNT": "22",
      "NAME": "ZWave_SWITCH_MULTILEVEL_43",
      "NR": "17946",
      "STATE": "on",
      "TYPE": "ZWave",
      "ZWDongle_0_MSGCNT": "22",
      "ZWDongle_0_RAWMSG": "0004002b03220200",
      "ZWDongle_0_TIME": "2020-05-20 08:06:22",
      "ZWaveSubDevice": "no",
      "cmdsPending": "0",
      "endpointChildren": "ZWave_Node_43.1,ZWave_SWITCH_MULTILEVEL_43.02",
      "homeId": "c8f37189",
      "isWakeUp": "",
      "lastMsgSent": "1589954782.09133",
      "nodeIdHex": "2b"
    },
    "Readings": {
      "applicationStatus": { "Value":"cmdRejected", "Time":"2020-05-20 08:06:22" },
      "associatedWith": { "Value":"ZWave_Node_43.1,ZWave_SWITCH_MULTILEVEL_43.02", "Time":"2020-05-15 22:15:03" },
      "configForceCalibration": { "Value":"DeviceIsCalibrated", "Time":"2020-05-18 22:13:44" },
      "configTimeOfDownMovement": { "Value":"1972", "Time":"2020-05-18 22:13:45" },
      "configTimeOfUpMovement": { "Value":"2007", "Time":"2020-05-18 22:13:44" },
      "mcCapability_02": { "Value":"ZWAVEPLUS_INFO SWITCH_MULTILEVEL ASSOCIATION MULTI_CHANNEL_ASSOCIATION ASSOCIATION_GRP_INFO SECURITY SECURITY_S2 SUPERVISION APPLICATION_STATUS", "Time":"2020-05-15 19:20:15" },
      "mcEndpoints": { "Value":"total 2, different", "Time":"2020-05-15 19:20:10" },
      "model": { "Value":"FIBARO System FGRM223 Roller Shutter Controller 3", "Time":"2020-05-15 19:20:01" },
      "modelConfig": { "Value":"fibaro/fgr223.xml", "Time":"2020-05-15 19:20:01" },
      "modelId": { "Value":"010f-0303-1000", "Time":"2020-05-15 19:20:01" },
      "state": { "Value":"on", "Time":"2020-05-20 08:06:22" },
      "timeToAck": { "Value":"0.193", "Time":"2020-05-20 08:06:22" },
      "transmit": { "Value":"OK", "Time":"2020-05-20 08:06:22" },
      "zwavePlusInfo": { "Value":" version:01 role:AlwaysOnSlave node:Z-Wave+Node installerIcon:1900 userIcon:1900", "Time":"2020-05-15 19:20:10" }
    },
    "Attributes": {
      "IODev": "ZWDongle_0",
      "alias": "Rollladen küche",
      "classes": "ZWAVEPLUS_INFO SWITCH_MULTILEVEL ASSOCIATION MULTI_CHANNEL_ASSOCIATION ASSOCIATION_GRP_INFO TRANSPORT_SERVICE VERSION MANUFACTURER_SPECIFIC DEVICE_RESET_LOCALLY POWERLEVEL SECURITY SECURITY_S2 METER CONFIGURATION CRC_16_ENCAP ALARM PROTECTION MULTI_CHANNEL CENTRAL_SCENE FIRMWARE_UPDATE_MD APPLICATION_STATUS SUPERVISION",
      "genericDeviceType": "shutter",
      "realRoom": "Küche",
      "room": "GoogleAssistant,Küche,ZWave",
      "vclasses": "ALARM:8 APPLICATION_STATUS:1 ASSOCIATION:2 ASSOCIATION_GRP_INFO:2 CENTRAL_SCENE:3 CONFIGURATION:1 CRC_16_ENCAP:1 DEVICE_RESET_LOCALLY:1 FIRMWARE_UPDATE_MD:4 MANUFACTURER_SPECIFIC:2 METER:3 MULTI_CHANNEL:4 MULTI_CHANNEL_ASSOCIATION:3 POWERLEVEL:1 PROTECTION:2 SECURITY:1 SECURITY_S2:1 SUPERVISION:1 SWITCH_MULTILEVEL:4 TRANSPORT_SERVICE:2 VERSION:2 ZWAVEPLUS_INFO:2"
    }
  }  ],
  "totalResultsReturned":1
}


Hi,
paar Fragen dazu noch:
- Kann eine direkte Position mit dim angesteuert werden?
- dim 99 = zu? dim 0 = offen?
- Kann die aktuelle Position ausgelesen werden, in welchem Reading?
- off = zu, on = offen?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

noname41

Hi,

Ja geht mit dim: 99 zu dim 0 offen.
Off: offen on: geschlossen
Die Position wird unter state: dim xx angegeben

Die Frage ist aber ob es nicht über das Child devices  besser ist. Hier wird der Status unter
reportState: dim xx
swmStatus: xx target xx duration unknown
State dim xx angegeben.

Theoretisch kann das devices auch lammelenstellungen nur kann ich das nicht testen.

Lg

dominik

Was meinst du mit Child device? Ist das ein separates Device in FHEM mit extra Readings?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

noname41

Genau.
Es werden zwei Child devices angelegt.
Hier die json2 vom relevanten

Bin mir aber nicht sicher mit welchem es besser ist zu arbeiten


{
  "Arg":"NAME=ZWave_SWITCH_MULTILEVEL_41.01",
  "Results": [
  {
    "Name":"ZWave_SWITCH_MULTILEVEL_41.01",
    "PossibleSets":"alarmnotification associationAdd associationDel dim:slider,0,1,99 dimUpDown dimUpDownIncDecWithDuration dimUpDownWithDuration dimWithDuration mcaAdd mcaDel meterReset:noArg off:noArg on:noArg secSupportedReport:noArg stop:noArg on-till intervals off-for-timer on-for-timer blink off-till-overnight toggle on-till-overnight off-till ",
    "PossibleAttrs":"alias comment:textField-long eventMap:textField-long group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev WNMI_delay classes disable:0,1 disabledForIntervals do_not_notify:noArg dummy:noArg eventForRaw extendedAlarmReadings:0,1,2 ignore:noArg ignoreDupMsg:noArg neighborListPos noExplorerFrames:noArg noWakeupForApplicationUpdate:noArg secure_classes setExtensionsEvent:1,0 showtime:noArg vclasses useMultiCmd:noArg useCRC16:noArg zwaveRoute event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading ASC:0,1,2 DbLogExclude DbLogInclude TEERKOAlias:textField TEERKOClose:textField TEERKOControl:1,0 TEERKODown:textField TEERKOOff:textField TEERKOOn:textField TEERKOOpen:textField TEERKOPct:textField TEERKORoom:textField TEERKOStart:textField TEERKOStop:textField TEERKOToggle:textField TEERKOUp:textField alexaName alexaRoom assistantName:textField cmdIcon devStateIcon devStateIcon:textField-long devStateStyle fp_Haus fp_Heizung fp_Radio gassistantName:textField genericDeviceType:switch,outlet,light,thermostat,aircondition,airfreshener,airpurifier,camera,coffeemaker,dishwasher,dryer,fan,fireplace,heater,kettle,oven,refrigerator,scene,sprinkler,vacuum,washer,blinds,awning,boiler,curtain,door,garage,gate,hood,lock,microwave,pregola,securitysystem,shutter,shower,valve,waterheater,window,ac_unit,bathtub,bed,blender,closet,coffee_maker,cooktop,dehumidifier,dehydrator,drawer,faucet,fryer,grill,humidifier,mop,mower,multicooker,pergola,petfeeder,pressurecooker,radiator,sousvide,standmixer,yogurtmaker,charger,sensor,carbon_monoxide_detector,remotecontrol,network,router,settop,smoke_detector,tv,waterpurifier,watersoftener homebridgeMapping:textField-long icon realRoom:textField snipsMapping:textField-long snipsName snipsRoom sortby statusreading:textField uiDeviceColor uiDeviceIcon uiDeviceType uiDeviceTypeParameter uiDisplayName uiDisplayOrder uiDisplayRoom uiGet uiOption uiSet uiShow uiWatch webCmd webCmdLabel:textField-long widgetOverride xbmcInfo userattr",
    "Internals": {
      "CFGFN": "",
      "DEF": "c8f37189 10497",
      "FUUID": "5ebece9e-f33f-0e57-3822-3bf25ae11fdd9aa7",
      "LASTInputDev": "ZWDongle_0",
      "MSGCNT": "556",
      "NAME": "ZWave_SWITCH_MULTILEVEL_41.01",
      "NR": "17909",
      "STATE": "dim 39",
      "TYPE": "ZWave",
      "ZWDongle_0_MSGCNT": "556",
      "ZWDongle_0_RAWMSG": "0004002912600d01003202214400000002000000000000",
      "ZWDongle_0_TIME": "2020-05-23 15:30:31",
      "ZWaveSubDevice": "yes",
      "endpointParent": "ZWave_SWITCH_MULTILEVEL_41",
      "homeId": "c8f37189",
      "isWakeUp": "",
      "nodeIdHex": "2901"
    },
    "Readings": {
      "associatedWith": { "Value":"ZWave_SWITCH_MULTILEVEL_41", "Time":"2020-05-15 22:15:03" },
      "energy": { "Value":"0.02 kWh", "Time":"2020-05-23 15:30:31" },
      "power": { "Value":"0 W", "Time":"2020-05-23 15:30:31" },
      "reportedState": { "Value":"dim 39", "Time":"2020-05-23 15:21:14" },
      "state": { "Value":"dim 39", "Time":"2020-05-23 15:21:14" },
      "swmStatus": { "Value":"39 target 39 duration unknown", "Time":"2020-05-23 15:21:14" }
    },
    "Attributes": {
      "IODev": "ZWDongle_0",
      "classes": "ZWAVEPLUS_INFO SWITCH_MULTILEVEL ASSOCIATION MULTI_CHANNEL_ASSOCIATION ASSOCIATION_GRP_INFO SECURITY SECURITY_S2 SUPERVISION METER ALARM APPLICATION_STATUS",
      "room": "ZWave"
    }
  }  ],
  "totalResultsReturned":1


dominik

Was hat das fuer einen Grund, dass es 2 Devices gibt? Ich wuerde das erste Device nehmen, da das mehr Inhalte von der Konfiguration her hat und wahrscheinlich daher bei den meisten Usern das "Standard Device" ist.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

noname41

Vermutlich weil es zwei Schalreingänge gibt.
Bin da aber ganz bei dir auch ich hab gleich das Hauptservice genommen.

Lg

dominik

Ist nun fertig. Bitte reload machen und ausprobieren ob alles so funktioniert wie du es erwartest.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Tabularasa

#1978
Zitat von: dominik am 23 Mai 2020, 00:35:52

Interessante neue App Action Blocks von Google:
https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.maui.actionblocks

Damit kann man Shortcut Widgets am Homescreen für Google Assistant Befehle machen (z.B. Kaffeemaschine einschalten)

Hatte letzte Woche erst probiert von der Home App ein Widget zu erstellen. Das gibt es aber nicht. Weißt du ob man das irgendwie togglen kann? Oder brauche ich immer 2 (an, aus)?

Achso und hast du den Shelly rgbw2 schon implementiert? Weil ich noch den Fehler bekomme.
gassistant-fhem-lastServerError
Licht_EG_BadLED:Error: rgb not a number: set 00FF00 => NaN

dominik

Leider braucht man immer 2 Action Blocks.

Hilf mir bitte nochmal weiter was beim Shelly rgbw2 gefehlt hat und in welchem Fall die Fehlermeldung kommt? Kommt die laufend bei dir oder nur bei Befehlen?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik