I have successfully updated my sonoff switches, temp sensors etc to the new mqtt 2.5 format. Now I would like to update my security system, PIR and contact switches (although there’s nothing wrong with my old mqtt items and config)
@matt_shepherd: Also it’s recommended to use PaperUI for Things to help with syntax errors but either way will work.
You can migrate your Things to PaperUI via REST API, here is an excellent post, with pictures, that will guide you. The first one took a few minutes but after that it’s a breeze.
So am i correct in thinking that the rest api doc is a tool for helping you right items files? I was wanting to update my items and things so i can integrate it better with the Alexa skill.
The link was for migrating your Things file to PaperUI. It’s still recommended to use files for items but the correct syntax for the channel can be retrieved from PaperUI and no having to guess.
In the example item I posted above the channel info was copied straight from PaperUI. All the other info is left to you for however you like…except the item type e.g. Switch, Contact, Dimmer, etc…
I’m not the best at explanations in text so I made a bit of sense. If not let me know and I’ll try again.