IME, a lot of good information on how to achieve things with the #OpenHAB Rules DSL requires good searching on the OpenHAB forums or mining through the Javadoc.
I thought I'd use Claude over the weekend/last night to help generify some stuff in my config, and it suggested a cool approach whereby I could put metadata against items and then use that metadata in my rules to customise behaviour.
It's also described here: https://forum.aqara.com/t/exploring-openhabs-rule-design-with-metadata-for-enhanced-flexibility/20956
Unfortunately, Claude seems to have just completely made up how to _read_ the metadata (validated against the Javadoc). It then proposed an alternative approach, which again seemed reasonable - but completely made up (again, validated against the Javadoc).
Trying a third time got it to say:
> Let me check what's actually available in OpenHAB for accessing metadata from rules
...and then:
> Unfortunately, accessing item metadata from Rules DSL is quite limited in OpenHAB. The documentation confirms that "Metadata can be added and removed, but not read" from Rules DSL
I know none of this is news; but... yeesh.
Andrew F.
@Jaffa@social.linux.pizza
Hacker, geek, #CTO, misanthrope. #StarTrek #DoctorWho #Linux #Java #Python #HomeAutomation #RaspberryPi #SmartHome #SelfBuild #HomeAssistant #OpenHAB #UnitedKingdom #AWS #BBCMicro #RetroComputing Masthead photo by Barney Livingston.
social.linux.pizza
@Jaffa@social.linux.pizza
·
Feb 03, 2026
1
0
0
Loading comments...