I know this issue from openhab designer 1 that commands like sendNotification, sendMail, sendXbmcNotification and some more are not correctly recognized by designer. Is this issue valid with designer 2 as well?
I need to mention, that I’m running OH on linux and develop my rules on windows with designer. As I don’t want to develop my rules directly on the running openhab, the openhab config directory is duplicated on my windows. I push the config to my openhab after saving and approvement.
Does the designer 2 need more information besides the openhab config files (items, rules, …), to show the rules without errors?
I really hoped designer 2 would solve this “error spamming”.
Eclipse Smarthome Designer version 0.8 works similar to the “old” Designer version 1, but still has some limitations.
Don’t use version 0.9, it’s buggy!
Yes, but that gets only rid of the non English wording spelling errors, but you still have the errors regarding notifications (and some others).
But it helps a bit …
I just loaded up the designer for my OH2 config because I was trying to find the source of this error:
2017-02-08 09:51:06.104 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'audio.rules', using it anyway:
This expression is not allowed in this context, since it doesn't cause any side effects.
2017-02-08 09:51:06.120 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'audio.rules'
but I don’t see any error corresponding to it, all I see are 152 errors for all of the items referenced in the .rules file. I’m assuming that this is because the items have been created as links to Things in PaperUI so there is no .items file that contains them. Is there a plan to link the designer to the REST api to get the available things?