Python
(Chris)
January 4, 2017, 2:57pm
1
I’m running into a weird problem with OH2B5.
I’m defining all my items manually in my .items file. and after a few edits/saves openhab starts reporting duplicate fields and no longer accepts my edits within OH2. (for instance i was adding some lights to a group, when this duplicate error happens my rules don’t see this item in the group)
A restart resolves this.
2017-01-04 09:52:59.843 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Light_House_Soffit'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
2017-01-04 09:52:59.843 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Light_Garage_Soffit'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
2017-01-04 09:52:59.844 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Light_House_Soffit_Scene'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-01-04 09:52:59.845 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Rcpt_Garage'. Ignoring 'org.eclipse.smarthome.core.library.items.SwitchItem'.
2017-01-04 09:52:59.845 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Rcpt_House_Foyer'. Ignoring 'org.eclipse.smarthome.core.library.items.SwitchItem'.
2017-01-04 09:52:59.846 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Rcpt_House_Outside'. Ignoring 'org.eclipse.smarthome.core.library.items.SwitchItem'.
2017-01-04 09:52:59.848 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'House_DoorSensor'. Ignoring 'org.eclipse.smarthome.core.library.items.SwitchItem'.
2017-01-04 09:52:59.849 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Kitchen_PIR'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-01-04 09:52:59.850 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Kitchen_PIR_Temp'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-01-04 09:52:59.850 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Kitchen_PIR_Battery'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-01-04 09:52:59.852 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sunrise_Time'. Ignoring 'org.eclipse.smarthome.core.library.items.DateTimeItem'.
2017-01-04 09:52:59.853 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sunset_Time'. Ignoring 'org.eclipse.smarthome.core.library.items.DateTimeItem'.
2017-01-04 09:52:59.854 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'SunsetTime'. Ignoring 'org.eclipse.smarthome.core.library.items.DateTimeItem'.
2017-01-04 09:52:59.855 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'SunriseTime'. Ignoring 'org.eclipse.smarthome.core.library.items.DateTimeItem'.
2017-01-04 09:52:59.855 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'SunElevation'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-01-04 09:52:59.880 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Light_House_Soffit'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
2017-01-04 09:52:59.881 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Light_Garage_Soffit'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
2017-01-04 09:52:59.881 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Light_House_Soffit_Scene'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
jmarwil3
(Marcel Will)
January 9, 2017, 1:13pm
2
Same here with Build #633 .
After a restart, everything is good again.
Marcel
Python
(Chris)
January 11, 2017, 2:39am
3
Have you had this problem in previous builds. I just moved up to OH2B5 so i don’t have any previous builds to compare to.
I’m trying to figure out if there is a pattern to whe the Duplicate field’s occur. Sometimes i can edit my .items file 10x and it continues to work, then another time i edit it once and it’s erroring out with Duplicate items..
WarmCat
(Wayne Jones)
January 12, 2017, 4:22am
4
Also having this issue.
It seemed to start when I created a home.rules file.
Nothing in the list is even mentioned in the .rules file, they are all my Hue bulbs, my rules file is dealing with my LightwaveRF stuff.
jmarwil3
(Marcel Will)
January 13, 2017, 6:54pm
5
I noticed this problem only since #633 .
Marcel
sintei
(Nicke)
January 18, 2017, 9:06pm
6
Yup, me2 for one group item.
2017-01-18 21:22:46.304 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'gLights'. Ignoring 'org.eclipse.smarthome.core.items.GroupItem'.
Python
(Chris)
January 19, 2017, 12:41am
7
I upgraded off OpenHAB Beta5 over to the snapshots. Currently running build #723 and the problem still exists.
I’ll try later this evening upgrading to build #733 which i see to be the current version on cloudbee’s as of writing this and report back.
sintei
(Nicke)
January 19, 2017, 8:31am
8
Actually, I did find a duplicate in my ITEMS file so I retract my +1
Looks like this is an older topic.
I currently have a lot of such warnings.
Is there a solution for this?
My version of openHAB:
Warnings: (Only a few. There are much more of them.)
2017-02-11 05:02:42.598 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N07AeotecSmartSwitchZW096Waschen_Color'. Ignoring 'org.eclipse.smarthome.core.library.items.ColorItem'.
2017-02-11 05:02:42.599 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos01Bad_NotificationSoundVolume'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
2017-02-11 05:02:42.599 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'SamsungTV_UE55F7090_Wohnen_ProgramTitle'. Ignoring 'org.eclipse.smarthome.core.library.items.StringItem'.
2017-02-11 05:02:42.600 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos01Bad_SleepTimer'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-02-11 05:02:42.601 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos01Bad_Add'. Ignoring 'org.eclipse.smarthome.core.library.items.StringItem'.
2017-02-11 05:02:42.602 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N02SensativeStripsEingang_BatteryLevel'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-02-11 05:02:42.603 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos03Kueche_CurrentArtist'. Ignoring 'org.eclipse.smarthome.core.library.items.StringItem'.
2017-02-11 05:02:42.603 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N03FibaroRGBWControllerWohnen_Color'. Ignoring 'org.eclipse.smarthome.core.library.items.ColorItem'.
2017-02-11 05:02:42.604 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos01Bad_Favorite'. Ignoring 'org.eclipse.smarthome.core.library.items.StringItem'.
2017-02-11 05:02:42.605 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos02Hobby_Control'. Ignoring 'org.eclipse.smarthome.core.library.items.PlayerItem'.
2017-02-11 05:02:42.615 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos01Bad_SaveAll'. Ignoring 'org.eclipse.smarthome.core.library.items.SwitchItem'.
2017-02-11 05:02:42.616 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos02Hobby_CurrentArtist'. Ignoring 'org.eclipse.smarthome.core.library.items.StringItem'.
2017-02-11 05:02:42.617 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos01Bad_CurrentArtist'. Ignoring 'org.eclipse.smarthome.core.library.items.StringItem'.
2017-02-11 05:02:42.617 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N06AeotecMultiSensor6Garage_SensorUltraviolet'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-02-11 05:02:42.618 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'Sonos01Bad_Coordinator'. Ignoring 'org.eclipse.smarthome.core.library.items.StringItem'.
2017-02-11 05:02:42.618 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N09AeotecMultiSensor6Bad_SensorLuminance'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-02-11 05:02:42.619 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N03FibaroRGBWControllerWohnen_Green'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
2017-02-11 05:02:42.620 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N04FibaroDoorSensorFGK101Garage_TamperAlarm'. Ignoring 'org.eclipse.smarthome.core.library.items.SwitchItem'.
2017-02-11 05:02:42.620 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N05AeotecMultiSensor6Wohnen_SensorTemperature'. Ignoring 'org.eclipse.smarthome.core.library.items.NumberItem'.
2017-02-11 05:02:42.621 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N03FibaroRGBWControllerWohnen_White'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
2017-02-11 05:02:42.621 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: 'N03FibaroRGBWControllerWohnen_Dimmer'. Ignoring 'org.eclipse.smarthome.core.library.items.DimmerItem'.
halloween
(Hallo Ween)
February 20, 2017, 8:20pm
10
I made some edits and now i get very much of this duplicate fileds errors. Running OH2 - 2.0 - final build.
After restart all is ok.
Ronson1909
(Christian Heimerl)
March 5, 2017, 8:07pm
11
Same problem for me. Any solution?
I couldn’t find a solution, so I started from scratch and did a complete fresh install.
That solved it, but of course it’s not what I wanna do every time when a error comes up.
A restart has not worked for me, but for Halloween. I guess you’ve already tried that?
I have the same problem. Did anybody find a solution for that problem?
I have a few items with this error and these items are not correct shown at my sitemap!
makon
(Maxim)
April 21, 2017, 3:15pm
14
same problem
Release = Raspbian GNU/Linux 8 (jessie)
Kernel = Linux 4.4.0-1-rpi2
Platform = Raspberry Pi 2 Model B Rev 1.1
openHAB 2.0.0-1 (Release Build)
Same problem on my installation. Usually occurs after updating rules files. Running lastest from unstable repository.
martinvw
(Martin van Wingerden)
June 7, 2017, 7:51pm
16
I have the same, I opened another issue referring to the existing issue and this thread.
https://github.com/eclipse/smarthome/issues/3607