jpgorganizer / ioBroker.smartgarden

GARDENA smart system adapter for ioBroker
Other
21 stars 8 forks source link

rfLinkState_timestamp has wrong value typ #39

Closed Gundika closed 2 years ago

Gundika commented 2 years ago

rfLinkState_timestamp has a wrong value type to get timestamp from gardena mover in ioBroker in date format

jpgorganizer commented 2 years ago

pls give more info - logs etc.

Gundika commented 2 years ago

I fixed it by setting value type from string into number :-) Now it works fine. Thank you for this great ioBroker adapter.

jpgorganizer commented 2 years ago

ok, but it shouldn't have type string. Could you please just delete the data point. It will be created again by the adapter and then check if it's string or number

Gundika commented 2 years ago

ok. i did what you wrote. but now there is a meassage invalid date. value tpe is sting now. I manually changed into number and it works fine again

jpgorganizer commented 2 years ago

thanks - I will re-open the issue, because I should have a look at this

jpgorganizer commented 2 years ago

@Gundika : have you switched parameter pre-define states ON or OFF?

Gundika commented 2 years ago

@Gundika : have you switched parameter pre-define states ON or OFF?

could please let me know where i could find this parameter? I am really sure that i did not changed this

jpgorganizer commented 2 years ago

see https://github.com/jpgorganizer/ioBroker.smartgarden#setup-adapter .....in step 3.2

but it's fine the way it is. It would only be useful for debugging to know how this parameter is set.

Gundika commented 2 years ago

ah. ok i understand. this parameter is ticked = ON

jpgorganizer commented 2 years ago

@Gundika

For some reason I hadn't noticed that you got an error on ´rfLinkState_timestamp´. My mind was on a different field. sorry

You then changed the type to number and then the error should be gone? I can't imagine that a String can be written into a Number field.

I'm currently not able to look for the error, because I don't even know what the error is. Please post a log from ioBroker (with loglevel = 3)

jpgorganizer commented 2 years ago

please give a log for this issue till 30.04.22. otherwise I will close the issue. thanks

Gundika commented 2 years ago

I changed the type to number and since then the error is gone.

jpgorganizer commented 2 years ago

without log not reproducable