ich habe versucht nach der Vorlage von tasmota meine Steckdose auszulesen:
tasmota.things
Code: Alles auswählen
Bridge mqtt:broker:myMQTTBroker [host="192.168.180.30", secure=false ]
Thing mqtt:topic:tasmota:tasmota_01 (mqtt:broker:mxMQTTBroker) [ availabilityTopic="tele/tasmota/LWT", payloadAvailable="Online", payloadNotAvailable="Offline" ] {
Channels:
Type switch : PowerSwitch "Power Switch" [
stateTopic="stat/tasmota_01/POWER",
commandTopic="cmd/tasmota_01/POWER",
on="ON",
OFF="OFF"
]
// Sonoff Pow (read current wattage; for read and switch on-state see above)
Type Number : Tasmota_01Power [stateTopic="tele/tasmota_01/SENSOR", transformationPattern="JSONPATH:$.ENERGY.Power"]
}
was ist an meiner tasmota.things-Datei falsch, fehlt da eine Klammer irgendwo gegenüber der Vorlage?2023-06-04 15:09:31.684 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Berlin'.
2023-06-04 15:09:31.778 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'de_DE'.
...
2023-06-04 15:09:41.495 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'charts.items'
2023-06-04 15:09:42.028 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'dornweg_knx.items'
2023-06-04 15:09:42.201 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'dornweg.items'
2023-06-04 15:09:42.311 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'tasmota.items'
2023-06-04 15:09:42.777 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mysql.persist'
2023-06-04 15:09:43.692 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'dornweg.sitemap'
2023-06-04 15:09:43.995 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'knx_test.things'
2023-06-04 15:09:44.020 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'tasmota.things'
2023-06-04 15:09:44.071 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'tasmota.things' has errors, therefore ignoring it: [12,14]: mismatched input 'Number' expecting RULE_ID
2023-06-04 15:09:48.012 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
...
2023-06-04 15:09:52.108 [WARN ] [ty.util.ssl.SslContextFactory.config] - Trusting all certificates configured for Client@fe17cde[provider=null,keyStore=null,trustStore=null]
2023-06-04 15:09:52.109 [WARN ] [ty.util.ssl.SslContextFactory.config] - No Client EndPointIdentificationAlgorithm configured for Client@fe17cde[provider=null,keyStore=null,trustStore=null]
2023-06-04 15:09:57.282 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
wo bekomme ich die RULE_ID her bzw. was genau fehlt da?
und muss mir die SSL-Meldung etwas sagen?
Danke schon jetzt