danke erst einmal, allerdings leider noch ohne Erfolg
Thing geändert: (erst mal nur die number betrachten)
Code: Alles auswählen
Thing http:url:bayLu_SZ "BaySZ"@"EG_Bed"
[ baseURL="http://123.123.123.123/?export=1",
refresh= 60,
fetch= false
]
{
Channels:
Type number : Temp_In "Temp_In" [stateTransformation = "REGEX:.*Temp_In\: ([-]*[\d]+,[\d]*).*∩JS:comma2dot.js", mode = "readonly" ]
}
/* Type switch : SystemOn "SystemON_ " [statetransformation = "REGEX:.*SystemON ([0|1]).*",onValue="1",offValue="0"]
Type switch : AntiFreeze "AntiFreeze_ " [statetransformation = "REGEX:.*AntiFreeze ([0|1]).*",onValue="1",offValue="0"]
Type switch : Fixed_Speed "Fixed_Speed_ " [statetransformation = "REGEX:.*Timer_active ([0|1]).*",onValue="1",offValue="0"]
Type switch : Defrosting "Defrosting_ " [statetransformation = "REGEX:.*Fixed_Speed ([0|1]).*",onValue="1",offValue="0"]
Type switch : Landlord_Mode "Landlord_Mode_ " [statetransformation = "REGEX:.*Landlord_Mode ([0|1]).*",onValue="1",offValue="0"]
Type switch : Cross_Ventilation "Cross_Ventilation_ " [statetransformation = "REGEX:.*Cross_Ventilation ([0|1]).*",onValue="1",offValue="0"]
Type switch : Timer_active "Timer_active " [statetransformation = "REGEX:.*Timer_active: ([0|1]).*",onValue="1",offValue="0"]
*/
führt ab dem REGEX zu Mecker:
2023-05-29 11:24:50.104 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'aa_bayernluft.things'
2023-05-29 11:24:50.125 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'aa_bayernluft.things' has errors, therefore ignoring it: [8,88]: mismatched character ':' expecting set null
[8,107]: no viable alternative at input '('
[8,111]: mismatched input '*' expecting '}'
[8,114]: no viable alternative at input 'd'
[8,120]: no viable alternative at input 'd'
[8,139]: mismatched input '.' expecting ':'
[8,140]: no viable alternative at input 'js'
[8,153]: no viable alternative at input 'readonly'
[10,45]: no viable alternative at input 'SystemON_'
[10,97]: mismatched input '.' expecting RULE_ID
[10,99]: missing ':' at 'SystemON'
[10,109]: extraneous input '[' expecting RULE_ID
[10,111]: mismatched input '|' expecting ':'
[10,112]: no viable alternative at input '1'
[10,128]: no viable alternative at input '1'
[10,141]: no viable alternative at input '0'
[11,43]: no viable alternative at input 'AntiFreeze_'
[11,95]: mismatched input '.' expecting RULE_ID
[11,97]: missing ':' at 'AntiFreeze'
[11,109]: extraneous input '[' expecting RULE_ID
[11,111]: mismatched input '|' expecting ':'
[11,112]: no viable alternative at input '1'
[11,128]: no viable alternative at input '1'
[11,141]: no viable alternative at input '0'
[12,43]: no viable alternative at input 'Fixed_Speed_'
[12,95]: mismatched input '.' expecting RULE_ID
[12,97]: missing ':' at 'Timer_active'
[12,112]: extraneous input '[' expecting RULE_ID
[12,114]: mismatched input '|' expecting ':'
[12,115]: no viable alternative at input '1'
[12,131]: no viable alternative at input '1'
[12,144]: no viable alternative at input '0'
[13,43]: no viable alternative at input 'Defrosting_'
[13,95]: mismatched input '.' expecting RULE_ID
[13,97]: missing ':' at 'Fixed_Speed'
[13,111]: extraneous input '[' expecting RULE_ID
[13,113]: mismatched input '|' expecting ':'
[13,114]: no viable alternative at input '1'
[13,130]: no viable alternative at input '1'
[13,143]: no viable alternative at input '0'
[14,43]: no viable alternative at input 'Landlord_Mode_'
[14,95]: mismatched input '.' expecting RULE_ID
[14,97]: missing ':' at 'Landlord_Mode'
[14,113]: extraneous input '[' expecting RULE_ID
[14,115]: mismatched input '|' expecting ':'
[14,116]: no viable alternative at input '1'
[14,132]: no viable alternative at input '1'
[14,145]: no viable alternative at input '0'
[15,43]: no viable alternative at input 'Cross_Ventilation_'
[15,95]: mismatched input '.' expecting RULE_ID
[15,97]: missing ':' at 'Cross_Ventilation'
[15,117]: extraneous input '[' expecting RULE_ID
[15,119]: mismatched input '|' expecting ':'
[15,120]: no viable alternative at input '1'
[15,136]: no viable alternative at input '1'
[15,149]: no viable alternative at input '0'
[16,43]: no viable alternative at input 'Timer_active'
[16,95]: mismatched input '.' expecting RULE_ID
[16,97]: extraneous input 'Timer_active' expecting ':'
[16,112]: extraneous input '[' expecting RULE_ID
[16,114]: mismatched input '|' expecting ':'
[16,115]: no viable alternative at input '1'
[16,131]: no viable alternative at input '1'
[16,144]: no viable alternative at input '0'
[16,145]: mismatched character '<EOF>' expecting '"'