Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing items in rules during startup #184

Closed
grzech1983 opened this issue Apr 9, 2015 · 1 comment
Closed

Accessing items in rules during startup #184

grzech1983 opened this issue Apr 9, 2015 · 1 comment

Comments

@grzech1983
Copy link

Hello,

I'm looking at switching to OH2 with my current configuration and one of things which I've noticed is error for accessing items in rules during OH2 startup. I'm using sample rules for irrigation from OH1 samples wiki:

https://code.google.com/p/openhab-samples/wiki/Rules

With item:

Switch Irrigation_Master "Irrigation Master"

but during OH2 startup I see:

08:03:41.331 INFO o.o.c.internal.CoreActivator[:55]- openHAB runtime has been started (v2.0.0, build 201503291351).
08:04:31.488 ERROR o.e.s.m.r.r.i.e.RuleEngineImpl[:274]- Error during the execution of startup rule 'Irrigation startup': The name 'Irrigation_Master' cannot be resolved to an item or type.

I have also other similar errors from other rules. Is this an issue or maybe something changed in rules configuration which needs to be applied to rule files?

My switch item is located in irrigation.items file located in OH2/conf/items

Regards

@kaikreuzer
Copy link
Member

Thanks for the report. I would like to treat this as a duplicate of #76 as the same effect has been discussed there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants