Modul 48_SST zum Einbinden von Samsung SmartThings

Begonnen von pasp, 25 August 2020, 19:39:47

Vorheriges Thema - Nächstes Thema

pasp

#45
Habe das Modul soeben aktualisiert.

Leider musste ich, nachdem Samsung ihre Antworten jetzt richtig formatieren, feststellen, daß die cloudseitigen Antworten deutlich komplexer ausfallen, als ich vermutete, weshalb sich leider auch die Namen für alle Readings geändert haben. Ein paar OCF Readings habe ich aufgrund ihrer Belanglosigkeit vorerst ganz rausgeschmissen. Wenn hier jemand von euch was vermisst, bitte mir einfach sagen, dann nehm' ich das wieder rein.

Bezüglich der Readingnamen habe ich ein neues Attribut eingeführt (brief_readings), das zwischen kurzen (Default) und langen, aber dafür 100%ig eindeutigen Namen umschaltet. Ich persönlich rechne hier nicht mit Dopplungen, aber better be safe than sorry. :)

Sowohl bei der Umschaltung, als auch nach diesem Update empfielt sich ein
deleteReading <DEVICE> .*
um den alten Kram loszuwerden.

Ach ja, loglevel 5 würde ich, wenn ich keine aktuellen Probleme identifizieren will, lieber lassen. Da kommt mittlerweile ordentlich was zusammen.

Das Umbenennen der FHEM Devices führt jetzt nicht mehr dazu, daß die Verknüpfungen verloren gehen.

Ich glaube das war's im Großen und Ganzen.
Da meine Tochter diesen Sonntag verspätete Corona-Kommunion hat, glaube ich nicht, daß ich diese Woche noch groß zu was kommen werde. :)

[Edit 18:22]:
P.S.: Ach ja, aufgrund des neuen Abfragepunktes für den Gerätestatus wäre es klasse, wenn ihr mir nochmal die Ergebnisse von get <device> status schicken könntet.
FHEM auf RPi 4
Eingesetzte Systeme: MQTT2, Shelly, HUE, FritzBox, Synology, WifiLight
Verwaltete Module: SST

buzzmain

Zitat von: pasp am 16 September 2020, 18:08:33
[Edit 18:22]:
P.S.: Ach ja, aufgrund des neuen Abfragepunktes für den Gerätestatus wäre es klasse, wenn ihr mir nochmal die Ergebnisse von get <device> status schicken könntet.

Device-ID - Name

- Autocreation Status

dbd8b662-aff0-74fd-2b38-fe4c9efc70i7 - dummy_name - already known: no creation

main:
- switch
- refresh
- ocf
- execute
- remoteControlStatus
- washerMode
- washerOperatingState
- powerConsumptionReport
- custom.error
- custom.disabledCapabilities
- custom.dthVersion
- custom.washerAutoDetergent
- custom.washerAutoSoftener
- custom.washerRinseCycles
- custom.washerSoilLevel
- custom.washerSpinLevel
- custom.washerWaterTemperature
- custom.washerAddwashAlarm
- custom.supportedOptions
- custom.jobBeginningStatus
- samsungce.washerCycle


Danke nochmal für Deine Mühe.
Viel Spaß bei der Feier und lieben Gruß an Deine Tochter ;)


Scheint soweit zu gehen bei mir.

Allerdings ist es noch immer so, dass bei update SST das System komplett steht bei mir. Für ca 3-4 Minuten, dann ist alles wieder i.O.
K.A warum das so ist

aber nu mach mal ersteinmal WE und feier schön. Nächste Woche ist auch noch Zeit ;-)

Buzzy



... And on the 8th Day God Created The Homeautomation.

buzzmain

Ich habe diese "FHEM friert ein" Sache noch weiter angeschaut.

Wenn FHEM keine Verbindung mit dem Internet hat, dann friert beim Refresh bzw. get status komplett ein.
In diesem Zustand werden auch keine Logs geschrieben. Das ganze dauert etwa 7 Minuten (geschätzt).

Leider hat mein InetProvider derzeit massive Probleme, daher habe ich tatsächlich mehrmals am Tag das Problem das FHEM einfriert :(

Ich habe den Refresh jetzt auf 500000 gesetzt, damit es erst einmal keine solchen Überraschungen mehr gibt.
Evtl. würde ein Timeout bei der Abfrage helfen.

Trotzdem schöne Feier ;)

Buzzy
... And on the 8th Day God Created The Homeautomation.

pasp

Zitat von: buzzmain am 17 September 2020, 08:49:55
Device-ID - Name

- Autocreation Status
...

Danke, aber ich bräuchte eigentlich den Output des Gerätestatus, nicht die device_list :)

Zitat von: buzzmain am 17 September 2020, 08:49:55
Viel Spaß bei der Feier und lieben Gruß an Deine Tochter ;)
Danke, sie hat sich gefreut und grüßt zurück ;)

Zitat von: buzzmain am 17 September 2020, 08:49:55
Allerdings ist es noch immer so, dass bei update SST das System komplett steht bei mir. Für ca 3-4 Minuten, dann ist alles wieder i.O.
Sowas läßt mir keine Ruh'...

Neue Version ist draußen. Der Timeout läßt ich über das Attribut timeout setzen. Default ist 3 Sekunden.
FHEM auf RPi 4
Eingesetzte Systeme: MQTT2, Shelly, HUE, FritzBox, Synology, WifiLight
Verwaltete Module: SST

tremichl

#49
Hallo!
Ganz toll, dass an diesem Modul weitergearbeitet wird.
Habe ein Samsung Klima-Splitgerät.

Ein device_list bringt dieses Ergebnis:

------ send below text to developer ------

$VAR1 = {
  "_links" => {},
  "items" => [
    {
      "components" => [
        {
          "capabilities" => [
            {
              "id" => "ocf",
              "version" => 1
            },
            {
              "id" => "switch",
              "version" => 1
            },
            {
              "id" => "airConditionerMode",
              "version" => 1
            },
            {
              "id" => "airConditionerFanMode",
              "version" => 1
            },
            {
              "id" => "fanOscillationMode",
              "version" => 1
            },
            {
              "id" => "airQualitySensor",
              "version" => 1
            },
            {
              "id" => "temperatureMeasurement",
              "version" => 1
            },
            {
              "id" => "thermostatCoolingSetpoint",
              "version" => 1
            },
            {
              "id" => "relativeHumidityMeasurement",
              "version" => 1
            },
            {
              "id" => "dustSensor",
              "version" => 1
            },
            {
              "id" => "veryFineDustSensor",
              "version" => 1
            },
            {
              "id" => "audioVolume",
              "version" => 1
            },
            {
              "id" => "remoteControlStatus",
              "version" => 1
            },
            {
              "id" => "powerConsumptionReport",
              "version" => 1
            },
            {
              "id" => "demandResponseLoadControl",
              "version" => 1
            },
            {
              "id" => "refresh",
              "version" => 1
            },
            {
              "id" => "execute",
              "version" => 1
            },
            {
              "id" => "custom.spiMode",
              "version" => 1
            },
            {
              "id" => "custom.thermostatSetpointControl",
              "version" => 1
            },
            {
              "id" => "custom.airConditionerOptionalMode",
              "version" => 1
            },
            {
              "id" => "custom.airConditionerTropicalNightMode",
              "version" => 1
            },
            {
              "id" => "custom.autoCleaningMode",
              "version" => 1
            },
            {
              "id" => "custom.deviceReportStateConfiguration",
              "version" => 1
            },
            {
              "id" => "custom.energyType",
              "version" => 1
            },
            {
              "id" => "custom.dustFilter",
              "version" => 1
            },
            {
              "id" => "custom.airConditionerOdorController",
              "version" => 1
            },
            {
              "id" => "custom.deodorFilter",
              "version" => 1
            },
            {
              "id" => "custom.disabledComponents",
              "version" => 1
            },
            {
              "id" => "custom.disabledCapabilities",
              "version" => 1
            },
            {
              "id" => "samsungce.driverVersion",
              "version" => 1
            }
          ],
          "categories" => [
            {
              "name" => "AirConditioner"
            }
          ],
          "id" => "main"
        },
        {
          "capabilities" => [
            {
              "id" => "switch",
              "version" => 1
            },
            {
              "id" => "airConditionerMode",
              "version" => 1
            },
            {
              "id" => "airConditionerFanMode",
              "version" => 1
            },
            {
              "id" => "fanOscillationMode",
              "version" => 1
            },
            {
              "id" => "temperatureMeasurement",
              "version" => 1
            },
            {
              "id" => "thermostatCoolingSetpoint",
              "version" => 1
            },
            {
              "id" => "relativeHumidityMeasurement",
              "version" => 1
            },
            {
              "id" => "airQualitySensor",
              "version" => 1
            },
            {
              "id" => "dustSensor",
              "version" => 1
            },
            {
              "id" => "veryFineDustSensor",
              "version" => 1
            },
            {
              "id" => "odorSensor",
              "version" => 1
            },
            {
              "id" => "remoteControlStatus",
              "version" => 1
            },
            {
              "id" => "audioVolume",
              "version" => 1
            },
            {
              "id" => "custom.thermostatSetpointControl",
              "version" => 1
            },
            {
              "id" => "custom.autoCleaningMode",
              "version" => 1
            },
            {
              "id" => "custom.airConditionerTropicalNightMode",
              "version" => 1
            },
            {
              "id" => "custom.disabledCapabilities",
              "version" => 1
            },
            {
              "id" => "ocf",
              "version" => 1
            },
            {
              "id" => "powerConsumptionReport",
              "version" => 1
            },
            {
              "id" => "demandResponseLoadControl",
              "version" => 1
            },
            {
              "id" => "custom.spiMode",
              "version" => 1
            },
            {
              "id" => "custom.airConditionerOptionalMode",
              "version" => 1
            },
            {
              "id" => "custom.deviceReportStateConfiguration",
              "version" => 1
            },
            {
              "id" => "custom.energyType",
              "version" => 1
            },
            {
              "id" => "custom.dustFilter",
              "version" => 1
            },
            {
              "id" => "custom.airConditionerOdorController",
              "version" => 1
            },
            {
              "id" => "custom.deodorFilter",
              "version" => 1
            }
          ],
          "categories" => [],
          "id" => 1
        }
      ],
      "deviceId" => "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "deviceManufacturerCode" => "Samsung Electronics",
      "deviceTypeName" => "Samsung OCF Air Conditioner",
      "label" => "SZRaumklimaanlage",
      "locationId" => "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "manufacturerName" => "Samsung Electronics",
      "name" => "[room a/c] Samsung",
      "presentationId" => "DA-AC-RAC-000001",
      "profile" => {
        "id" => "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      },
      "restrictionTier" => 0,
      "roomId" => "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "type" => "OCF"
    }
  ]
};

------ send above text to developer ------






Ein neues Device wird nicht angelegt.

Ich hoffe die Info hilft etwas. Teste gerne und freue mich auf Weiterentwicklung

Danke, Liebe Grüße Michael
Wir haben keine Ahnung davon, was wir nicht wissen

pasp

Zitat von: tremichl am 23 September 2020, 10:59:17
Habe ein Samsung Klima-Splitgerät.
Super, hatten wir noch nicht.

Zitat von: tremichl am 23 September 2020, 10:59:17

      "name" => "[room a/c] Samsung",
...

1bee6b2a-82d2-284a-131a-65d1e967e9eb - [room a/c] Samsung - creation failed with: 'room a/c, 60, 1bee6b2a-82d2-284a-131a-65d1e967e9eb IO=SamsungSmartThingsConnector'


Ein neues Device wird nicht angelegt.
Immer mal wieder was Neues :)
Habe das Modul jetzt angepaßt. Die Geräteerstellung sollte jetzt auch für das Klimagerät funktionieren.
FHEM auf RPi 4
Eingesetzte Systeme: MQTT2, Shelly, HUE, FritzBox, Synology, WifiLight
Verwaltete Module: SST

tremichl

#51
Das ging ja schnell, danke!

nach:
Update
Shutdown restart
Connector gelöscht und neu angelegt (autocreate 1)
get device_list

wird leider noch kein Device angelegt

Device-ID - Name - Autocreation Status


Muss ich noch auf etwas achten?

Wir haben keine Ahnung davon, was wir nicht wissen

pasp

Wie peinlich, ich hab ein _ im Code vergessen  :-[
Bug ist gefixed. Bitte upgraden.

Den Connector mußt Du nicht löchen, ein
attr <Connector> autocreate 2
get <Connector> device_list

(oder eben graphisch) reicht völlig. :)
FHEM auf RPi 4
Eingesetzte Systeme: MQTT2, Shelly, HUE, FritzBox, Synology, WifiLight
Verwaltete Module: SST

tremichl

Gar nicht peinlich! Wo gehobelt wird fallen Späne....
Jetzt hat es geklappt!
Einige Readings sind schon da, werde mir diese einmal genauer ansehen....
Danke!
Wir haben keine Ahnung davon, was wir nicht wissen

pasp

Neue Version 0.7.12

So, da war noch n Fehler beim SVG upload - hiermit beseitigt.
D.h. ich habe SVG Graphiken (ab)gemalt für:

  • Samsung SmartThings (Logo in 'nem Haus)
  • meinen Samsung Kühl- und Gefrierschrank
  • ein Samsung Klimagerät (@tremichl: ich hoffe, Deins sieht in etwa so aus)
Fangen alle mit 'samsung_' an :)

Des Weiteren habe ich einen timeout Zähler als reading eingeführt, d.h. bei entsprechendem Timeout wird das reading angelegt bzw. um 1 erhöht.
FHEM auf RPi 4
Eingesetzte Systeme: MQTT2, Shelly, HUE, FritzBox, Synology, WifiLight
Verwaltete Module: SST

tremichl

Icon sieht besser aus als in der Samsung App. :)
Fast alle Readings zeigen plausible Werte an. Nur bei powerConsumption steht HASH(0x5a292d8) drin. Wie kommt man zu kWh? Und natürlich wäre es ganz toll, wenn man bei Gelegenheit auch die Grundfunktionen (ON/OFF, Fan Speed, Tempereatur,..) steuern könnte...
Bis jetzt sieht das ganze aber schon sehr vielversprechend aus. 
Wir haben keine Ahnung davon, was wir nicht wissen

pasp

Zitat von: tremichl am 25 September 2020, 16:33:39
Icon sieht besser aus als in der Samsung App. :)
Danke sehr :)

Zitat von: tremichl am 25 September 2020, 16:33:39
Fast alle Readings zeigen plausible Werte an. Nur bei powerConsumption steht HASH(0x5a292d8) drin. Wie kommt man zu kWh?
Da lese ich offenbar nicht tief genug in den Baum hinein...
Mach doch bitte mal
attr <device> verbose 5
get <device> status
attr <device> verbose 3

und schick mir die Ausgabe.

Zitat von: tremichl am 25 September 2020, 16:33:39Und natürlich wäre es ganz toll, wenn man bei Gelegenheit auch die Grundfunktionen (ON/OFF, Fan Speed, Tempereatur,..) steuern könnte...
Zitat von: TheMandalorianDas ist der Weg.
;)
FHEM auf RPi 4
Eingesetzte Systeme: MQTT2, Shelly, HUE, FritzBox, Synology, WifiLight
Verwaltete Module: SST

Prof. Dr. Peter Henning

Kann das Modul aus einem SmartThings-Fernseher den eingestellten Kanal abfragen?

LG

pah

tremichl

Hier die Ausgabe von get status:

$VAR1 = {
  "components" => {
    "1" => {
      "airConditionerFanMode" => {
        "fanMode" => {
          "value" => undef
        },
        "supportedAcFanModes" => {
          "value" => undef
        }
      },
      "airConditionerMode" => {
        "airConditionerMode" => {
          "value" => undef
        },
        "supportedAcModes" => {
          "value" => undef
        }
      },
      "airQualitySensor" => {
        "airQuality" => {
          "value" => undef
        }
      },
      "audioVolume" => {
        "volume" => {
          "value" => undef
        }
      },
      "custom.airConditionerOdorController" => {
        "airConditionerOdorControllerProgress" => {
          "value" => undef
        },
        "airConditionerOdorControllerState" => {
          "value" => undef
        }
      },
      "custom.airConditionerOptionalMode" => {
        "acOptionalMode" => {
          "value" => undef
        },
        "supportedAcOptionalMode" => {
          "value" => undef
        }
      },
      "custom.airConditionerTropicalNightMode" => {
        "acTropicalNightModeLevel" => {
          "value" => undef
        }
      },
      "custom.autoCleaningMode" => {
        "autoCleaningMode" => {
          "value" => undef
        }
      },
      "custom.deodorFilter" => {
        "deodorFilterCapacity" => {
          "value" => undef
        },
        "deodorFilterResetType" => {
          "value" => undef
        },
        "deodorFilterStatus" => {
          "value" => undef
        },
        "deodorFilterUsage" => {
          "value" => undef
        },
        "deodorFilterUsageStep" => {
          "value" => undef
        }
      },
      "custom.deviceReportStateConfiguration" => {
        "reportStatePeriod" => {
          "value" => undef
        },
        "reportStateRealtime" => {
          "value" => undef
        },
        "reportStateRealtimePeriod" => {
          "value" => undef
        }
      },
      "custom.disabledCapabilities" => {
        "disabledCapabilities" => {
          "value" => undef
        }
      },
      "custom.dustFilter" => {
        "dustFilterCapacity" => {
          "value" => undef
        },
        "dustFilterResetType" => {
          "value" => undef
        },
        "dustFilterStatus" => {
          "value" => undef
        },
        "dustFilterUsage" => {
          "value" => undef
        },
        "dustFilterUsageStep" => {
          "value" => undef
        }
      },
      "custom.energyType" => {
        "energyType" => {
          "value" => undef
        }
      },
      "custom.spiMode" => {
        "spiMode" => {
          "value" => undef
        }
      },
      "custom.thermostatSetpointControl" => {
        "maximumSetpoint" => {
          "value" => undef
        },
        "minimumSetpoint" => {
          "value" => undef
        }
      },
      "demandResponseLoadControl" => {
        "drlcStatus" => {
          "value" => undef
        }
      },
      "dustSensor" => {
        "dustLevel" => {
          "value" => undef
        },
        "fineDustLevel" => {
          "value" => undef
        }
      },
      "fanOscillationMode" => {
        "fanOscillationMode" => {
          "timestamp" => "2020-07-09T12:53:17.597+0000",
          "value" => "fixed"
        }
      },
      "ocf" => {
        "di" => {
          "value" => undef
        },
        "dmv" => {
          "value" => undef
        },
        "icv" => {
          "value" => undef
        },
        "mndt" => {
          "value" => undef
        },
        "mnfv" => {
          "value" => undef
        },
        "mnhw" => {
          "value" => undef
        },
        "mnml" => {
          "value" => undef
        },
        "mnmn" => {
          "value" => undef
        },
        "mnmo" => {
          "value" => undef
        },
        "mnos" => {
          "value" => undef
        },
        "mnpv" => {
          "value" => undef
        },
        "mnsl" => {
          "value" => undef
        },
        "n" => {
          "value" => undef
        },
        "pi" => {
          "value" => undef
        },
        "st" => {
          "value" => undef
        },
        "vid" => {
          "value" => undef
        }
      },
      "odorSensor" => {
        "odorLevel" => {
          "value" => undef
        }
      },
      "powerConsumptionReport" => {
        "powerConsumption" => {
          "value" => undef
        }
      },
      "relativeHumidityMeasurement" => {
        "humidity" => {
          "timestamp" => "2020-07-07T14:19:43.602+0000",
          "unit" => "%",
          "value" => 0
        }
      },
      "remoteControlStatus" => {
        "remoteControlEnabled" => {
          "value" => undef
        }
      },
      "switch" => {
        "switch" => {
          "value" => undef
        }
      },
      "temperatureMeasurement" => {
        "temperature" => {
          "value" => undef
        }
      },
      "thermostatCoolingSetpoint" => {
        "coolingSetpoint" => {
          "value" => undef
        }
      },
      "veryFineDustSensor" => {
        "veryFineDustLevel" => {
          "value" => undef
        }
      }
    },
    "main" => {
      "airConditionerFanMode" => {
        "fanMode" => {
          "timestamp" => "2020-09-25T14:16:30.504+0000",
          "value" => "low"
        },
        "supportedAcFanModes" => {
          "timestamp" => "2020-04-22T12:48:40.896+0000",
          "value" => [
            "auto",
            "low",
            "medium",
            "high",
            "turbo"
          ]
        }
      },
      "airConditionerMode" => {
        "airConditionerMode" => {
          "timestamp" => "2020-09-14T00:54:23.582+0000",
          "value" => "cool"
        },
        "supportedAcModes" => {
          "timestamp" => "2020-04-22T12:48:40.946+0000",
          "value" => [
            "cool",
            "dry",
            "wind",
            "auto",
            "heat"
          ]
        }
      },
      "airQualitySensor" => {
        "airQuality" => {
          "timestamp" => "2020-09-25T10:49:04.949+0000",
          "unit" => "CAQI",
          "value" => undef
        }
      },
      "audioVolume" => {
        "volume" => {
          "timestamp" => "2020-09-14T09:21:09.869+0000",
          "unit" => "%",
          "value" => 0
        }
      },
      "custom.airConditionerOdorController" => {
        "airConditionerOdorControllerProgress" => {
          "timestamp" => "2020-09-25T10:59:05.822+0000",
          "value" => undef
        },
        "airConditionerOdorControllerState" => {
          "timestamp" => "2020-09-25T10:59:05.822+0000",
          "value" => undef
        }
      },
      "custom.airConditionerOptionalMode" => {
        "acOptionalMode" => {
          "timestamp" => "2020-07-07T06:46:48.594+0000",
          "value" => "off"
        },
        "supportedAcOptionalMode" => {
          "timestamp" => "2020-04-22T12:48:40.933+0000",
          "value" => [
            "off"
          ]
        }
      },
      "custom.airConditionerTropicalNightMode" => {
        "acTropicalNightModeLevel" => {
          "timestamp" => "2020-06-27T22:32:52.157+0000",
          "value" => 0
        }
      },
      "custom.autoCleaningMode" => {
        "autoCleaningMode" => {
          "timestamp" => "2020-04-22T12:48:41.049+0000",
          "value" => "off"
        }
      },
      "custom.deodorFilter" => {
        "deodorFilterCapacity" => {
          "timestamp" => "2020-09-25T10:20:11.796+0000",
          "value" => undef
        },
        "deodorFilterResetType" => {
          "timestamp" => "2020-09-25T10:20:11.796+0000",
          "value" => undef
        },
        "deodorFilterStatus" => {
          "timestamp" => "2020-09-25T10:20:11.796+0000",
          "value" => undef
        },
        "deodorFilterUsage" => {
          "timestamp" => "2020-09-25T10:20:11.796+0000",
          "value" => undef
        },
        "deodorFilterUsageStep" => {
          "timestamp" => "2020-09-25T10:20:11.796+0000",
          "value" => undef
        }
      },
      "custom.deviceReportStateConfiguration" => {
        "reportStatePeriod" => {
          "timestamp" => "2020-09-25T10:29:03.347+0000",
          "value" => undef
        },
        "reportStateRealtime" => {
          "timestamp" => "2020-09-25T10:29:03.347+0000",
          "value" => undef
        },
        "reportStateRealtimePeriod" => {
          "timestamp" => "2020-09-25T10:29:03.347+0000",
          "value" => undef
        }
      },
      "custom.disabledCapabilities" => {
        "disabledCapabilities" => {
          "timestamp" => "2020-07-07T11:58:00.802+0000",
          "value" => [
            "airFlowDirection",
            "dustSensor",
            "odorSensor",
            "airQualitySensor",
            "odorSensor",
            "spiMode",
            "veryFineDustSensor",
            "remoteControlStatus",
            "custom.airConditionerOdorController",
            "demandResponseLoadControl",
            "custom.dustFilter",
            "custom.deodorFilter",
            "custom.eletricHepaFilter",
            "custom.periodicSensing",
            "custom.doNotDisturbMode"
          ]
        }
      },
      "custom.disabledComponents" => {
        "disabledComponents" => {
          "timestamp" => "2020-07-07T11:57:55.602+0000",
          "value" => [
            1
          ]
        }
      },
      "custom.dustFilter" => {
        "dustFilterCapacity" => {
          "timestamp" => "2020-09-25T10:24:02.923+0000",
          "value" => undef
        },
        "dustFilterResetType" => {
          "timestamp" => "2020-09-25T10:24:02.923+0000",
          "value" => undef
        },
        "dustFilterStatus" => {
          "timestamp" => "2020-09-25T10:24:02.923+0000",
          "value" => undef
        },
        "dustFilterUsage" => {
          "timestamp" => "2020-09-25T10:24:02.923+0000",
          "value" => undef
        },
        "dustFilterUsageStep" => {
          "timestamp" => "2020-09-25T10:24:02.923+0000",
          "value" => undef
        }
      },
      "custom.energyType" => {
        "energyType" => {
          "timestamp" => "2020-04-22T12:48:41.098+0000",
          "value" => "1.0"
        }
      },
      "custom.spiMode" => {
        "spiMode" => {
          "timestamp" => "2020-09-25T10:54:05.376+0000",
          "value" => undef
        }
      },
      "custom.thermostatSetpointControl" => {
        "maximumSetpoint" => {
          "timestamp" => "2020-07-07T11:57:55.602+0000",
          "value" => 30
        },
        "minimumSetpoint" => {
          "timestamp" => "2020-07-07T11:57:55.602+0000",
          "value" => 16
        }
      },
      "demandResponseLoadControl" => {
        "drlcStatus" => {
          "timestamp" => "2020-07-07T11:58:00.764+0000",
          "value" => {
            "drlcLevel" => -1,
            "duration" => 0,
            "override" => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
            "start" => "1970-01-01T00:00:00Z"
          }
        }
      },
      "dustSensor" => {
        "dustLevel" => {
          "timestamp" => "2020-08-21T18:42:54.007+0000",
          "unit" => "\x{3bc}g/m^3",
          "value" => undef
        },
        "fineDustLevel" => {
          "timestamp" => "2020-08-21T18:42:54.007+0000",
          "unit" => "\x{3bc}g/m^3",
          "value" => undef
        }
      },
      "execute" => {
        "data" => {
          "data" => {
            "href" => "/mode/vs/0"
          },
          "timestamp" => "2020-09-26T08:35:35.114+0000",
          "value" => {
            "payload" => {
              "if" => [
                "oic.if.baseline",
                "oic.if.a"
              ],
              "rt" => [
                "x.com.samsung.da.mode"
              ],
              "x.com.samsung.da.modes" => [
                "Cool"
              ],
              "x.com.samsung.da.options" => [
                "Comode_Off",
                "Sleep_0",
                "OutdoorTemp_62",
                "CoolCapa_35",
                "WarmCapa_35",
                "Autoclean_Off",
                "Light_Off",
                "Volume_Mute",
                "AutocleanProgress_1",
                "StopAutoClean_Idle",
                "FilterTime_5080",
                "FilterAlarmTime_500",
                "OptionCode_53304",
                "ExtendOptionCode_0",
                "RacInfo_None",
                "UpdateAllow_NotAllowed"
              ],
              "x.com.samsung.da.supportedModes" => [
                "Cool",
                "Dry",
                "Wind",
                "Auto",
                "Heat",
                "HOMECARE_WIZARD_V2"
              ]
            }
          }
        }
      },
      "fanOscillationMode" => {
        "fanOscillationMode" => {
          "timestamp" => "2020-09-14T20:53:54.188+0000",
          "value" => "fixed"
        }
      },
      "ocf" => {
        "di" => {
          "timestamp" => "2020-04-22T12:48:40.469+0000",
          "value" => "1bee6b2a-82d2-284a-131a-65d1e967e9eb"
        },
        "dmv" => {
          "timestamp" => "2020-04-22T12:48:40.479+0000",
          "value" => "res.1.1.0,sh.1.1.0"
        },
        "icv" => {
          "timestamp" => "2020-04-22T12:48:40.490+0000",
          "value" => "core.1.1.0"
        },
        "mndt" => {
          "timestamp" => "2020-09-25T10:39:04.162+0000",
          "value" => undef
        },
        "mnfv" => {
          "timestamp" => "2020-04-22T12:48:40.079+0000",
          "value" => "0.1.0"
        },
        "mnhw" => {
          "timestamp" => "2020-04-22T12:48:40.090+0000",
          "value" => "1.0"
        },
        "mnml" => {
          "timestamp" => "2020-04-22T12:48:40.419+0000",
          "value" => "http://www.samsung.com"
        },
        "mnmn" => {
          "timestamp" => "2020-04-22T12:48:40.429+0000",
          "value" => "Samsung Electronics"
        },
        "mnmo" => {
          "timestamp" => "2020-04-22T12:48:40.407+0000",
          "value" => "ARTIK051_KRAC_18K|10193441|60010123001111000200000000000000"
        },
        "mnos" => {
          "timestamp" => "2020-04-22T12:48:40.383+0000",
          "value" => "TizenRT2.0"
        },
        "mnpv" => {
          "timestamp" => "2020-04-22T12:48:40.396+0000",
          "value" => "0.1.0"
        },
        "mnsl" => {
          "timestamp" => "2020-09-25T10:34:03.766+0000",
          "value" => undef
        },
        "n" => {
          "timestamp" => "2020-04-22T12:48:40.500+0000",
          "value" => "[room a/c] Samsung"
        },
        "pi" => {
          "timestamp" => "2020-04-22T12:48:40.440+0000",
          "value" => "1bee6b2a-82d2-284a-131a-65d1e967e9eb"
        },
        "st" => {
          "timestamp" => "2020-09-25T10:44:04.521+0000",
          "value" => undef
        },
        "vid" => {
          "timestamp" => "2020-04-22T12:48:40.451+0000",
          "value" => "DA-AC-RAC-000001"
        }
      },
      "powerConsumptionReport" => {
        "powerConsumption" => {
          "timestamp" => "2020-09-26T02:38:06.247+0000",
          "value" => {
            "deltaEnergy" => 0,
            "end" => "2020-09-26T02:38:06Z",
            "energy" => 28400,
            "energySaved" => 0,
            "persistedEnergy" => 28400,
            "power" => 0,
            "powerEnergy" => 0,
            "start" => "2020-09-25T14:13:52Z"
          }
        }
      },
      "refresh" => {},
      "relativeHumidityMeasurement" => {
        "humidity" => {
          "timestamp" => "2020-07-07T11:57:55.602+0000",
          "unit" => "%",
          "value" => 0
        }
      },
      "remoteControlStatus" => {
        "remoteControlEnabled" => {
          "timestamp" => "2020-08-21T18:54:54.995+0000",
          "value" => undef
        }
      },
      "samsungce.driverVersion" => {
        "versionNumber" => {
          "timestamp" => "2020-08-21T13:04:49.325+0000",
          "value" => 20081101
        }
      },
      "switch" => {
        "switch" => {
          "timestamp" => "2020-09-25T14:21:01.770+0000",
          "value" => "off"
        }
      },
      "temperatureMeasurement" => {
        "temperature" => {
          "timestamp" => "2020-09-26T07:01:17.670+0000",
          "unit" => "C",
          "value" => 20
        }
      },
      "thermostatCoolingSetpoint" => {
        "coolingSetpoint" => {
          "timestamp" => "2020-08-17T20:30:03.618+0000",
          "unit" => "C",
          "value" => 22
        }
      },
      "veryFineDustSensor" => {
        "veryFineDustLevel" => {
          "timestamp" => "2020-07-07T12:13:43.124+0000",
          "unit" => "\x{3bc}g/m^3",
          "value" => undef
        }
      }
    }
  }
};




Liebe Grüße, Michael
Wir haben keine Ahnung davon, was wir nicht wissen

pasp

#59
Zitat von: Prof. Dr. Peter Henning am 26 September 2020, 06:29:59Kann das Modul aus einem SmartThings-Fernseher den eingestellten Kanal abfragen?

Das kann ich mangels Samsung Fernseher nicht sicher sagen, aber wenn ich diesen Post ansehe, glaube ich fest daran.
Vielleicht kann das ja einer der Fernsehbesitzer bestätigen :)
FHEM auf RPi 4
Eingesetzte Systeme: MQTT2, Shelly, HUE, FritzBox, Synology, WifiLight
Verwaltete Module: SST