@smar. What firmware are you running. If my FIFO branch do you have OT?
My HGI80 equivalent Domoticz setup without HGI80
Collapse
X
-
Originally posted by petep View Post@smar. What firmware are you running. If my FIFO branch do you have OT?
Comment
-
-
Hi all. I have an Evohome WiFi controller and I would like to set up a radio sniffer. Do you think that a TTGO Lora 868 MHz device like this could do the trick?
Comment
-
-
Has anyone tried this with an ESP8266 and a CC1101 radio? I know a CC1101 driver has been written for the ESP8266 but I don't know how "drop in" it is to any of the three firmwares I've seen. Otherwise I guess I'll just try the firmware on a nano clone and connect that to the ESP.
Comment
-
-
I think the cheapest & simplest (from a firmware perspective) solution is to connect an arduino Nano clone to a CC1101. Both are only a few £s each and the Nano connects directly to your computer via USB. You can either use a breadboard, direct soldering or sockets to connect the Nano to the CC1101. This then produces a device almost identical to the RFBee, but running at 5v 16MHZ rather than 3.3v 8MHZ and the majority of the firmwares will work. You can also buy these types of CUL devices as a single PCB, but they are pricey, about £40.
If you want to use an alternative MCU then you'll need to mess around with the firmware, mapping pins/interrupts etc, assuming you can use the Arduino IDE with the MCU.
I'm currently using a Nano + CC1101 (both sourced via ebay) at the moment to help me dig into some of the current limitations of the different firmwares.
Comment
-
-
My CC1101 finally arrived and I'm now trying to get it to work with OpenHAB via MQTT and smar's python listener. I'm using petep's FIFO firmware at present, though last night was using master with the same results.
I have the old Evohome controller, with a RFG100 gateway. No boiler relay or opentherm but I do have BDR91s on the DHW and CH heating valves (which then fire the boiler via the microswitch). I'm aiming to get some kind of aggregate heat demand for my boiler modulation hack.
- firstly, my CC1101 came with a 433MHz antenna. It seems to be working OK but is it worth trying to switch to an 868MHz tuned one? It strikes me that the harmonics should be vaguely similar which is presumably why it's working.
- lots of "Unknown Command" - 0006 or 10A0. Device 30:071715 seems to be involved; I can't tell if this is the RFG100 or the controller itself?
2019-01-30 08:55:27: UNKNOWN COMMAND : 30:071715 : Command code '0006'. MSG: --- RQ --- 30:071715 01:067930 --:------ 0006 001 00
2019-01-30 08:56:03: UNKNOWN COMMAND : 30:071715 : Command code '10A0'. MSG: --- RQ --- 30:071715 01:067930 --:------ 10A0 001 00
- Lots of other errors:
2019-01-30 08:57:25: ERROR : ZONE_TEMPERATURE: ValueError("invalid literal for int() with base 16: ''",): --- RQ --- 30:071715 01:067930 --:------ 30C9 001 08
2019-01-30 08:57:35: SETPOINT_OVERRIDE : 30:071715 : ERROR - invalid length: --- RQ --- 30:071715 01:067930 --:------ 2349 001 03
2019-01-30 08:59:19: DHW_STATUS : 30:071715 : ERROR - invalid msg.payload length: --- RQ --- 30:071715 01:067930 --:------ 1F41 001 00
Can anyone help with these errors? Is the firmware returning expected results or do I need to fiddle with the python code? I'm not sure quite what the messages should look like!
thanks
EDIT - looking into it, it appears the 001 is the message length which is generally too short (and why it's complaining).
0006, 0005 and 2349 seem to be being used as some kind of synchronisation effort between what is probably the RFG100 and the controller - the last byte of the payload seems to move around 00 to 0F? Possibly it's asking for updates? (though there are only 12 zones so not sure how it gets as far as 0F)
Comment
-
-
- firstly, my CC1101 came with a 433MHz antenna. It seems to be working OK but is it worth trying to switch to an 868MHz tuned one? It strikes me that the harmonics should be vaguely similar which is presumably why it's working.
- lots of "Unknown Command" - 0006 or 10A0. Device 30:071715 seems to be involved; I can't tell if this is the RFG100 or the controller itself?
2019-01-30 08:55:27: UNKNOWN COMMAND : 30:071715 : Command code '0006'. MSG: --- RQ --- 30:071715 01:067930 --:------ 0006 001 00
2019-01-30 08:56:03: UNKNOWN COMMAND : 30:071715 : Command code '10A0'. MSG: --- RQ --- 30:071715 01:067930 --:------ 10A0 001 00
- Lots of other errors:
2019-01-30 08:57:25: ERROR : ZONE_TEMPERATURE: ValueError("invalid literal for int() with base 16: ''",): --- RQ --- 30:071715 01:067930 --:------ 30C9 001 08
2019-01-30 08:57:35: SETPOINT_OVERRIDE : 30:071715 : ERROR - invalid length: --- RQ --- 30:071715 01:067930 --:------ 2349 001 03
2019-01-30 08:59:19: DHW_STATUS : 30:071715 : ERROR - invalid msg.payload length: --- RQ --- 30:071715 01:067930 --:------ 1F41 001 00
Can anyone help with these errors? Is the firmware returning expected results or do I need to fiddle with the python code? I'm not sure quite what the messages should look like!Last edited by DanD; 30 January 2019, 10:56 AM.
Comment
-
-
Originally posted by DanD View PostI'm only using 868MHz antennae and also CC1101s boards marked as 868MHz as I'd assumed (maybe wrongly) that the antenna circuit was tuned for the specific frequency, but it looks like you're receiving messages OK with a 433MHz device.
Comment
-
-
Yes, it is a bit pot-luck with the low-cost CC1101 devices. I was lucky with my first purchase which was a £2 device purchased directly via an Ebay seller in China and an 868MHz device turned up. I decided to purchase my last one from a UK seller which cost £12 as I wanted one with header pins and antenna with socket to help with further testing.
Comment
-
-
Well, I have an 868Mhz setup now (with irritating slightly-smaller header spacing that meant I had to alternate pins on each side of the board!). Unfortunately this board doesn't support the SMA connector and has its own little antenna, but the range seems to be much improved and I'm reliably getting messages from all over the house.
My questions now:
- Is there any way to "inject" commands safely? I'm using evohome-Listener to connect to OpenHAB via MQTT. I've always wanted some form of local control, but equally don't want to end up writing my own software to replace the whole controller!
- How does heat demand work? I have two BDR91s - CH and DHW with no direct boiler control (boiler is fired from the valve microswitches). I frequently see messages suggesting the relay heat demand is 56%, but the actuator is off so the boiler isn't firing. Is the CH relay doing some (very slow) PWM or similar? This even seems to happen if I tell the controller there's an OpenTherm relay (without anything bound) - I just start to get boiler demand messages in the same way - but the actuator turning on and off seems to be independent.
Edit: done a bit of reading and it sounds like this is expected behaviour - TPI at 6 cycles/min with no minimum on-time in the case of my two-relay system. I'm hoping it behaves slightly differently when it thinks there's an OpenTherm boiler connected as the water temperature will vary (which is what I'm expecting to do with my reset-sensor hack)
Comment
-
Yes, the heat demand (and config params) are sent to the BDR, and it takes care of turning itself on and off according to the required demand.
You can inject commands, yes. I'm not sure which firmware you're running. If it's mine (or a derivative), this *used* to work. I've not tried it for a long time though, but I see no reason why it shouldn't. Domoticz uses this feature to be able to update the controller mode (away, day off, etc.), the setpoints, etc.
Comment
-
-
Is there any way to "inject" commands safely? I'm using evohome-Listener to connect to OpenHAB via MQTT. I've always wanted some form of local control, but equally don't want to end up writing my own software to replace the whole controller!
Dan
Comment
-
-
Originally posted by thigger View PostWell, I have an 868Mhz setup now (with irritating slightly-smaller header spacing that meant I had to alternate pins on each side of the board!). Unfortunately this board doesn't support the SMA connector and has its own little antenna, but the range seems to be much improved and I'm reliably getting messages from all over the house.
I also want to use ESP8266 and C1101 to sniff the data from the Evohome.
Which C1101 module did you order, do you have a link to it?
Could you discribe how you connect one another and which software you uploaded and how you did it.
Im able to upload ESPeasy for example but that's about it... Trying to figure out compiling stuff etc but dont find that to easy.
Comment
-
Comment