SEPIA-Framework / sepia-docs

Documentation and Wiki for SEPIA. Please post your questions and bug-reports here in the issues section! Thank you :-)
https://sepia-framework.github.io/
237 stars 16 forks source link

Can not change device type #24

Closed eX00r closed 4 years ago

eX00r commented 4 years ago

Hello,

thank you for your wonderful work!

I was able to set up sepia to run along with openhab. I registered sepia within the smarthome tab after saving the openhab IP within the config tab. I am able to load my devices and I can switch them on and off manually BUT unfortunately when I am trying to change the device type or room I get this error, although (as mentioned) I already pressed the 'REGISTER SEPIA' button and it was confirmed by the messagebox:

Smart home item: zwayzwayDevice_***2_2_switchPowerOutlet_ZWayVDevzway_*_37, FAILED to change 'sepia-type' to: light

I would be very thankful for your advices.

sepia-assistant commented 4 years ago

Thank you for the kind words :-)

It seems that your devices are somehow write protected. There might be some additional info in the SEPIA server log (~/SEPIA/sepia-assist-server/log.out) when you try to write the data.

Do you use the Paper UI of openHAB or item files? There is a bit more info about it ->here<-.

eX00r commented 4 years ago

thanks for the quick response.

I will check the logs later at home.

Regarding your question: I am using PaperUI.

eX00r commented 4 years ago

I got it. The items where not writable by REST Api because I created them in simplemode. To solve this I deleted them and re added them without simple mode in PaperUI. Now I was able to change the type and room within Sepia Configuration.

Thanks.

fquirin commented 4 years ago

Thanks for the info. I'll add a note to the wiki docs :-)