Pi-Mote - Raspberry Pi Forums
taken delivery of energenie pi-mote , couple of controlled mains sockets. have them working now, , reasonable lua scripts control them. there issues python program , notes in i've spent happy afternoon investigating, , thought post results here. i'm working on getting control via domoticz, running lua scripts directly @ moment. i'm happy post have here if there interest. cheers harry energenie socket control codes. verified experiment, differ codes in supplied sample code. note gpio output 13 consistently on/off bit. pins 11, 15 16 address field. assuming bit weightings in order: makes sense in negative logic address 7 = socket 1 address 6 = socket 2 address 5 = socket 3 address 4 = socket 4 address 3 = sockets all address 2 = socket ? functions address 1 = socket ? functions address 0 = socket ? functions sorta kinda.. off code "socket" same initialisation code encoder, suspect never makes out air. if use socket "on" co...