Closed keihuli closed 4 years ago
Thx for the report. Version of FHEM adapter?
Sorry I forget fhemadapter 1.3.0. My fhem instance is uptodate...
Ok pls update FHEM adapter from 1.3.0 to 1.5.2
@LausiD 1.5.2 for stable?
I am not sure if it is stable, because in 1.3.0 i can press a button in the objects tab of iobroker (it is an fs20 rsu [switch)], and my rollo works... In 1..3 i am getting this warning:
hem.0 2020-06-02 22:43:53.096 warn (12527) State value to set is invalid for fhem.0.rollo_kai_r.state: The state property "ts" has the wrong type "undefined" (should be "number")!
fhem.0 2020-06-02 22:43:53.066 warn (12527) This value will not be set in future versions. Please report this to the developer.
And in 1.5.2 i am getting:
fhem.0 | 2020-06-02 22:53:23.272 | warn | (13242) unhandled stateChange: fhem.0.rollo_kai_r.Auf \| true > stateChange - no match !state.ack & fhemObjects[id]{"val":true,"ack":false,"ts":1591131203264,"q":0,"from":"system.adapter.admin.0","use
-- | -- | -- | --
In both version the raw definition is the same:
{ "from": "system.adapter.fhem.0", "ts": 1547675485200, "user": "system.user.admin", "common": { "name": "rollo.kai.r Auf", "role": "button", "type": "boolean", "write": true }, "native": { "Name": "rollo.kai.r", "Attribute": "Auf", "possibleSets": true, "noArg": true }, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1636 }, "_id": "fhem.0.rollo_kai_r.Auf", "type": "state" }
Did you need more information?
fhem.0.rollo_kai_r.Auf \ | true > stateChange - no match !state.ack & fhemObjects[id] It means.....object wit the name fhem.0.rollo_kai_r.Auf \ was not found The problem is \ at the end. Pls check: delete fhem.0.rollo_kai_r.Auf and restart the adapter.
2020-06-03 19:22:45.452 - info: fhem.0 (20407) Create channel: rollo.kai.r | fhem.0.rollo_kai_r is created, but no action and no error code of my rollo reverting to 1.3. everthing is fine
Which information do you need now?
pls check again
I put the value into Wert column, and stopped fhem and restarted it, after that I get
rollo.kai.r:
fhem.0 | 2020-06-04 22:15:41.076 | info | (17872) rollo.kai.r \| stateChange (in): fhem.0.rollo_kai_r.on true {"val":true,"ack":false,"ts":1591301741068,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1591301741068}
-- | -- | -- | --
rollo_kai_r:
fhem.0 | 2020-06-04 22:18:51.233 | info | (18125) rollo.kai.r \ | stateChange (in): fhem.0.rollo_kai_r.on true {"val":true,"ack":false,"ts":1591301931226,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1591301931226} |
---|
Here you see the complete log: start.log
No more messages after stateChange (in): fhem.0.rollo_kai_r.on true ? Did you wait until STEP15 ( end of synchro) ?
Solved!!! Here is there story:
I wait about 30 minutes, but the adapter remains in step 10
Awards I uncomment all ioBroker rooms in fhem without kairollo
and then I deleted all fhem objects in iobroker, but two elements cannot be deleted by me.... The error in IOBroker is:
Fehler [object Object]
Then I am starting the adapter again and he still remains in step 10. Last message is:
fhem.0 2020-06-05 07:34:32.452 info (18056) > delete unused objects (*) > delete 0 channel(s) and 2 state(s)
The two objects which I can't delete are old fhem objects, which don't exists anymore in fhem.
After Googling I deleted these two objects in objects.json...
Now everthing works.... ;)
Maybe It could be helpfull that the adapter wrote that he cannot delete an object...
Did you need some more information, may be the objects.json?
Pls check again with update from github. The adapter write the error now :-)
I get this error warnings, bcause there is standing "report this to the devolopper' I created this issue. I am using: node: v12.16.2, js-controller: 3.1.4
Betriebssystem linux Betriebssystem linux Architektur arm CPUs 4 Geschwindigkeit 900 MHz Modell ARMv7 Processor rev 5 (v7l) RAM 926.08 MB System Betriebszeit 37 T. 09:05:39 Node.js v12.16.2 (Es gibt eine neuere Version: v12.17.0) NPM 6.14.4 Festplatte Größe 29.28 GB Festplatte frei 26.41 GB Anzahl der Adapter 292 Betriebszeit 1 T. 13:39:14 Aktive Instanzen 13 Hostname ioBroker-RasPi
`