I have 2 Openhab 1.8 Instances working very well together, but as Openhab 1.8 is at the end of its life development wise, and can’t be trusted to come up cleanly after every reboot I’m looking to the future, and migration to Openhab 2.
So far my items file has evolved without the assistance of groups, so my startup rule file has many instances of
postUpdate(Item1, OFF) postUpdate(Item2, OFF) postUpdate(Item3, OFF) // and so on, to avoid leaving items uninitialized
Which works, although it seems inefficient
My sitemap also defines each item separately
Text item=BedroomTemperature label="Bedroom Temperature [%.1f C]" icon="temperature" Text item=BedroomCoolingTime label="Minutes needed to cool Bedroom [%.0f Minutes]" icon="clock" Text item=TodayBedTime label="Todays Bed Time [%s]" icon="moon"
Will adding groups allow me to simplify things?
Is there any information about best practice for membership for OH2?
Is not having items in Groups a problem moving into OH2?
As each edit of default.items reset everything to uninitialized, and reboots can’t be always relied upon due to the occasional file not found error when restarting, I’ve tried to limit the editing of my items file until now.