Hello
Short story:
Items from /etc/openhab2/items/home.items doesn´t show up in HABmin.
Before I broke something I could use the Number and String items in HABmin but not anymore, and any change made to the items-file isn´t in HABmin.
Long story:
Im trying to config a new openhabian install from scratch.
First I had problems with GPIO pins in PaperUI, can´t discover any pins but realized that if I did a BasicUI config I could control my outputs (haven´t setup any inputs yet).
After some troubleshooting I got my SPI MPC3008 to work but only in PaperUI.
Somewhere between then and now I think I broke something because my items from my items-file dissapeared from HABmin, the changes I make to the items-file doesn´t show up in HABmin (and has never been seen in PaperUI) I can only se PaperUI things in HABmin.
I haven´t learned how to config the MPC3008 and OneWireGPIO in config-files.
- Platform information: RaspberryPi
- OS: Openhabian
- Java Runtime Environment: openjdk version “1.8.0_222”
OpenJDK Runtime Environment (Zulu8.40.0.178-CA-linux_aarch32hf) (build 1.8.0_222-b178)
OpenJDK Client VM (Zulu8.40.0.178-CA-linux_aarch32hf) (build 25.222-b178, mixed mode, Evaluation) - openHAB version: openHAB 2.5.5~S111-1 (Build #111)
home.items:
//Output
Switch channel17 "Vattenpump" { gpio="pin:17 activelow:no initialValue:low" }
Switch channel27 "Channel 27" { gpio="pin:27 activelow:no initialValue:low" }
Switch channel22 "Channel 22" { gpio="pin:22 activelow:no initialValue:low"}
Switch channel5 "Channel 5" { gpio="pin:5 activelow:no initialValue:low"}
Switch channel6 "Channel 6" { gpio="pin:6 activelow:no initialValue:low"}
Switch channel13 "Channel 13" { gpio="pin:13 activelow:no initialValue:low"}
Switch channel19 "Channel 19" { gpio="pin:19 activelow:no initialValue:low"}
Switch channel26 "Channel 26" { gpio="pin:26 activelow:no initialValue:low"}
//Input
Contact channel23 "Channel 23" { gpio="pin:23 debounce:10 activelow:yes" }
Contact channel24 "Channel 24" { gpio="pin:24 debounce:10 activelow:yes" }
Contact channel25 "Channel 25" { gpio="pin:25 debounce:10 activelow:yes" }
Contact channel12 "Channel 12" { gpio="pin:12 debounce:10 activelow:yes" }
Contact channel16 "Channel 16" { gpio="pin:16 debounce:10 activelow:yes" }
Contact channel20 "Channel 20" { gpio="pin:20 debounce:10 activelow:yes" }
Contact channel23 "Channel 21" { gpio="pin:21 debounce:10 activelow:yes" }
//Contact DoorSensor "Door Sensor [%s]" { gpio="pin:16 debounce:10 activelow:yes" }
//Contact Button "Button [%s]" { gpio="pin:24 activelow:yes" }
//Variable
Number setTemp "setTemp"
String HABPanel "HABPanel"
//Number greywater "Gråvattennivå"
Number greywater “M: [%.0f]” (Greywater) { exec=”<[/usr/bin/python /etc/openhabian/scripts/read_mcp3008.py:600000:REGEX((.?))]" }
String greywater “M: [%.0f]” (Greywater) { exec=”<[/usr/bin/python /etc/openhabian/scripts/read_mcp3008.py:600000:REGEX((.?))]" }