Integrate Dyson Pure Cool Link

Tags: #<Tag:0x00007f0152b23950> #<Tag:0x00007f0152b231d0> #<Tag:0x00007f0152b225f0>

(Michael) #21

you get the messages, the sitemap seems to be okay.
So what about the items and rules files? And is there something in the error log?
At the moment I have no specific idea what is going wrong.

(olek) #22

I took the files (just copied them over) from the script. One more information: I have openhab 2.4 running. and i set python3.5 as default (running on debian).

Is it right when the rule-file got not modified (with the dyson-serial/name)?
here is the items file.

// Dyson Pure Cool Link Items

// 475//command
String Dyson475_Request “[%s]” {mqtt=">[dyson475:475/NN2-EU-HEA0325A/command:command:*:default]"}
// 475//status/current
String Dyson475_Topic_Status_Current “[%s]” {mqtt="<[dyson475:475/NN2-EU-HEA0325A/status/current:state:default]"}

Number Dyson475_Tact “Temperature [%.1f °C]”
Number Dyson475_Hact “Humidity [%.0f %%]”
Number Dyson475_Pact “P-Value [%d]”
Number Dyson475_Vact “V-Value [%d]”
Number Dyson475_Fmod “Mode”
Switch Dyson475_Rhtm “Contin. Measurement”
Number Dyson475_Fnsp “Fan Speed [%d]”
Number Dyson475_Qtar “Quality Target”
Switch Dyson475_Oson “Turning”
Switch Dyson475_Nmod “Night Mode”
Number Dyson475_Filf “Remaining Filter Hours”
Number Dyson475_Fnst “Fan Activity [%d]”

I just have the mqtt 1 binding installed, do i need something else? thanks again

(olek) #23

one update: i looked into the logs, i see:

[INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model ‘dyson475.rules’, using it anyway:
The import ‘java.text.SimpleDateFormat’ is never used.

is this relevant?

(olek) #24

and one more update: i tried a different java - the zulu-version.
when starting i got gollowing error, the beheaviour stays the same.

2019-01-10 17:21:33.625 [ERROR] [xtext.validation.CompositeEValidator] - Error executing EValidator
java.util.ConcurrentModificationException: null
at org.eclipse.emf.common.util.AbstractEList$EIterator.checkModCount( ~[?:?]
at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext( ~[?:?]
at org.eclipse.emf.common.util.AbstractEList$ ~[?:?]
at$7.computeNext( ~[]
at ~[]
at ~[]
at java.lang.Iterable.forEach( ~[?:?]
at org.eclipse.xtext.xbase.validation.UniqueClassNameValidator.checkUniqueName( ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke( ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:?]
at java.lang.reflect.Method.invoke( ~[?:?]
at org.eclipse.xtext.validation.AbstractDeclarativeValidator$MethodWrapper.invoke( ~[154:org.eclipse.xtext:2.14.0.v20180522-1821]
at org.eclipse.xtext.validation.AbstractDeclarativeValidator.internalValidate( ~[154:org.eclipse.xtext:2.14.0.v20180522-1821]
at org.eclipse.xtext.validation.AbstractInjectableValidator.validate( ~[154:org.eclipse.xtext:2.14.0.v20180522-1821]
at org.eclipse.xtext.validation.CompositeEValidator.validate( [154:org.eclipse.xtext:2.14.0.v20180522-1821]
at org.eclipse.emf.ecore.util.Diagnostician.doValidate( [66:org.eclipse.emf.ecore:2.12.0.v20160420-0247]
at org.eclipse.emf.ecore.util.Diagnostician.validate( [66:org.eclipse.emf.ecore:2.12.0.v20160420-0247]
at org.eclipse.emf.ecore.util.Diagnostician.validate( [66:org.eclipse.emf.ecore:2.12.0.v20160420-0247]
at org.eclipse.emf.ecore.util.Diagnostician.validate( [66:org.eclipse.emf.ecore:2.12.0.v20160420-0247]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.validateModel( [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel( [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile( [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.processIgnoredFiles( [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.addModelParser( [128:org.eclipse.smarthome.model.core:0.10.0.oh240]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

i’m using openhab2.4, i did not find a possibility to install a lower version…

(Michael) #25

I just updated to 2.4 and experienced also some problems. On my configuration I got no values and can not command the dyson.
I try to get it working on my side first and then we will see if it was the same issue on your side.

Edit: I think it will take some days until I got time to have a look onto it.

(olek) #26

i’m glad i am not the only one… no pressure :slight_smile:

(Michael) #27

I got it to work if I enable the mqtt1 binding again manualy after enabling the legacy bindings.
For the future I try to adapt my scripts to the “new” mqtt binding. At the moment I don’t know how long it will take until I got some spare time to work on it.