Hi, i’m David and this is the first post for me.
sorry for my bad
english…
first of all i want to thank the author of this fantastic project, openhab enjoy my life!! it’s fantastic, my home automation it’s incredible, i did not think that was possible to make this with a raspberry.
I’ve a strange issue, when i unplug the power to my rasperry pi some item lost their group family and the change also the label to switch1 switch2.
the group proprieties are strored in my switch.items files
Group gcasa
Group gsuono (gcasa)
Group gsala (gcasa)
Group gcucina (gcasa)
Group gbagnogiorno (gcasa)
Group gbagnonotte (gcasa)
Group gcameragrande(gcasa)
Group gcamerapiccola(gcasa)
Group gingresso(gcasa)
Group gtaverna(gcasa)
Group glucifuori "Tutte le luci fuori"(gcasa) ["Lighting"]
Group GLuciSala "GLuciSala" (gsala)
Group GLuciCucina "GLuciCucina" (gcucina)
Group GLuciBagnoGiorno (gbagnogiorno)
Group GLuciBagnoNotte (gbagnonotte)
Group GLuciCameraGrande (gcameragrande)
Group GLuciCameraPiccola (gcamerapiccola)
Group GLuciIngresso (gingresso)
Group GluciTaverna (gtaverna)
the item are made by paper ui .
sometimes when i unplug the power the item lost their group and change the label but if i restart from putty all come back ok…
it’s very strange. can anyone help me to resolve this issue?
You shouldn’t be doing that.
You will corrupt your file system and that’s maybe why you are having the problem.
You should use the command sudo reboot to reboot
Or sudo shutdown -r now to turn it off before removing the power.
Sorry i was not so clear in my post, when i say that i unplug the power, i wanted say that the 220v line go down and it’s impossible to say when,often when weather condition are not good.
so, there is a procedure to restore the part of sd corrupted? i don’t know raspian command so well…
what would you recommend to me?to back up, reinstall e restore the setings?
No there isn’t. Once the card is corrupted you can’t recover those parts.
You should use a powerbank to protect your raspberry. Be careful to chose one can be plugged in the mains as well as supplying the pi (Not all can do that)
thank you very much for the suggestions. yes, i’m afraid that i’ve my sd corrupted and randomly i have problem like zwawe latency , item properties, and wifi connection at startup.
but what i have to do now? what 's the best way to resolve my problem? ok i start to search a ups system to help the 220v issue.