Mikeliverpooluk
Active Member
- Joined
- Jan 21, 2015
- Messages
- 30
- Reaction score
- 6
Hi doug
i have a limited number of relays so i have set up gpio22 attached to a relay with a 240v socket. when i am on a brew day i want to use gpoi22 to power a heater element plugged into the socket. then when i am done i was hoping to go into edit mode delete gpio22 from the heating webui box and put gpio22 into the cooling box then hit update. my relay board requires both heating and cooling to be inverted. i then unplug my brewing heating element and plug in the fridge.
so here is that sequence of events
this is what i get when i first fire elsinore up from putty when it has been closed down in heating set to gpio22
INFO: CONFIG READ COMPLETED***********
Apr 19, 2015 8:47:28 PM com.sb.elsinore.BrewServer <init>
INFO: Launching on port 8080
Apr 19, 2015 8:47:28 PM com.sb.elsinore.BrewServer <init>
INFO: Enabled logging at level:WARNING
this is what i get when i first then open up open the webrowser on elsinores ip address
Warning: NLS unused message: CHANGE_SCALE in: com.sb.elsinore.nls.messages
Warning: NLS unused message: DUTY in: com.sb.elsinore.nls.messages
Warning: NLS unused message: CALIBRATION in: com.sb.elsinore.nls.messages
Warning: NLS unused message: HIDE in: com.sb.elsinore.nls.messages
Warning: NLS unused message: SHOW in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_COOL in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_HEAT in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_GPIO in: com.sb.elsinore.nls.messages
Warning: NLS unused message: UPDATE_GRAVITY in: com.sb.elsinore.nls.messages
Warning: NLS unused message: DESCRIPTION in: com.sb.elsinore.nls.messages
Warning: NLS unused message: TARGET in: com.sb.elsinore.nls.messages
Warning: NLS unused message: SHUTDOWN in: com.sb.elsinore.nls.messages
Warning: NLS unused message: SHUTDOWN_SYSTEM in: com.sb.elsinore.nls.messages
this is then what i get whislt in edit mode i move "GPIO22" from the heating box to cooling box and hit update
Apr 19, 2015 8:51:18 PM com.sb.elsinore.UrlEndpoints editVessel
WARNING: Updated temp name Fridge
Apr 19, 2015 8:51:18 PM com.sb.elsinore.UrlEndpoints editVessel
WARNING: Updated PID NameFridge
Could not find definitions file at: extras/gpio_definitions_lookup.xml
No definitions file found, assuming direct mapping
nothing comes up on the server screen at all when i then try and activate cooling in hysteria mode. the web ui is still interactive though. sometimes it just says 0% cycle and does nothing to the relay. then sometimes it says -100% and does nothing. very occasionally the relay will come on and click. once it came on and cycled rapidly on and off like it was in manual mode with a short cycle time but it was in hysteria. to note i do leave it to see if it is the time delay (which) is set at 1 minute - still nothing. i have tried every combination i can think of. reboots combinations of on offs mouse clicks etc etc to see if i can reporduce whats going on - i cant
when i then try and shut down elsinore when GPIO22 is in the cooling box and reboot all the PID buttons have gone when it comes back on yet when i go into edit mode GPIO22 is still in the appropriate box? hit update and the pid buttons reappear but still no action from the relay
this bit may be really relevant !?!?
when i then try put GPIO22 back into the heating box and hit update it says the following
GPIO Doesn't exist, may have already closed
this error just keeps cycling every second or so and heating doesnt work. if i then reboot all is fixed -everything is great and heating works a treat. seems the GPIO is closing when i switch the pid from heating to cooling???
this may be i Pi thing i suppose if its not happening to others ??
hope my rambling make some sense to you
let me know if there is anything else i can provide to help
cheers
mike
i have a limited number of relays so i have set up gpio22 attached to a relay with a 240v socket. when i am on a brew day i want to use gpoi22 to power a heater element plugged into the socket. then when i am done i was hoping to go into edit mode delete gpio22 from the heating webui box and put gpio22 into the cooling box then hit update. my relay board requires both heating and cooling to be inverted. i then unplug my brewing heating element and plug in the fridge.
so here is that sequence of events
this is what i get when i first fire elsinore up from putty when it has been closed down in heating set to gpio22
INFO: CONFIG READ COMPLETED***********
Apr 19, 2015 8:47:28 PM com.sb.elsinore.BrewServer <init>
INFO: Launching on port 8080
Apr 19, 2015 8:47:28 PM com.sb.elsinore.BrewServer <init>
INFO: Enabled logging at level:WARNING
this is what i get when i first then open up open the webrowser on elsinores ip address
Warning: NLS unused message: CHANGE_SCALE in: com.sb.elsinore.nls.messages
Warning: NLS unused message: DUTY in: com.sb.elsinore.nls.messages
Warning: NLS unused message: CALIBRATION in: com.sb.elsinore.nls.messages
Warning: NLS unused message: HIDE in: com.sb.elsinore.nls.messages
Warning: NLS unused message: SHOW in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_COOL in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_HEAT in: com.sb.elsinore.nls.messages
Warning: NLS unused message: INVERT_GPIO in: com.sb.elsinore.nls.messages
Warning: NLS unused message: UPDATE_GRAVITY in: com.sb.elsinore.nls.messages
Warning: NLS unused message: DESCRIPTION in: com.sb.elsinore.nls.messages
Warning: NLS unused message: TARGET in: com.sb.elsinore.nls.messages
Warning: NLS unused message: SHUTDOWN in: com.sb.elsinore.nls.messages
Warning: NLS unused message: SHUTDOWN_SYSTEM in: com.sb.elsinore.nls.messages
this is then what i get whislt in edit mode i move "GPIO22" from the heating box to cooling box and hit update
Apr 19, 2015 8:51:18 PM com.sb.elsinore.UrlEndpoints editVessel
WARNING: Updated temp name Fridge
Apr 19, 2015 8:51:18 PM com.sb.elsinore.UrlEndpoints editVessel
WARNING: Updated PID NameFridge
Could not find definitions file at: extras/gpio_definitions_lookup.xml
No definitions file found, assuming direct mapping
nothing comes up on the server screen at all when i then try and activate cooling in hysteria mode. the web ui is still interactive though. sometimes it just says 0% cycle and does nothing to the relay. then sometimes it says -100% and does nothing. very occasionally the relay will come on and click. once it came on and cycled rapidly on and off like it was in manual mode with a short cycle time but it was in hysteria. to note i do leave it to see if it is the time delay (which) is set at 1 minute - still nothing. i have tried every combination i can think of. reboots combinations of on offs mouse clicks etc etc to see if i can reporduce whats going on - i cant
when i then try and shut down elsinore when GPIO22 is in the cooling box and reboot all the PID buttons have gone when it comes back on yet when i go into edit mode GPIO22 is still in the appropriate box? hit update and the pid buttons reappear but still no action from the relay
this bit may be really relevant !?!?
when i then try put GPIO22 back into the heating box and hit update it says the following
GPIO Doesn't exist, may have already closed
this error just keeps cycling every second or so and heating doesnt work. if i then reboot all is fixed -everything is great and heating works a treat. seems the GPIO is closing when i switch the pid from heating to cooling???
this may be i Pi thing i suppose if its not happening to others ??
hope my rambling make some sense to you
let me know if there is anything else i can provide to help
cheers
mike