Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. bkenobi
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    bkenobi

    @bkenobi

    0
    Reputation
    13
    Posts
    733
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    bkenobi Follow

    Best posts made by bkenobi

    This user hasn't posted anything yet.

    Latest posts made by bkenobi

    • RE: Gateway for other protocols?

      I was able to locate documentation from others who decoded the devices already. In truth, they are very simple as they only send 1 or 2 packets. Your thermostat presumably sends all kinds of info out and each packet could contain very different data.

      I may go back to my old code first and give it one more run since it really just needs ESP8266 and RFM69 compatibility added to it. That should be easier than porting the decode algorithm to either MySensors or another project.

      My original goal was to simply use OpenMQTTGateway with my added protocols and decoders. That didn't work well, so I've made no real progress.

      posted in General Discussion
      bkenobi
      bkenobi
    • RE: Gateway for other protocols?

      I have 3 sensor types that I am currently trying to decode. I have the protocol decoded for all 3. Two are Acurite sensors (5in1 weather station, temperature sensor) and one is a power meter reader (Blueline power meter reader). Both have a WiFi device available, but both are overpriced and, more importantly, upload to a cloud server rather than making a Ata available locally.

      posted in General Discussion
      bkenobi
      bkenobi
    • RE: Gateway for other protocols?

      I've looked at rfxcom a few times. If there was a way to extend the existing sensor database, I would probably just do that. It can transceive X10 and a lot of other code, so if it were customizable it would be an ideal solution.

      I've found several examples of Arduino code that decode various sensors but I've struggled to locate an ESP compatible version. Maybe it's just that most of my 433 receivers ar 5v and won't work on 3.3v logic. That's where the rfm69 comes in. But I haven't found code that works with it...

      posted in General Discussion
      bkenobi
      bkenobi
    • RE: Gateway for other protocols?

      I've been using HG for several years and have a lot of time setting things up the way I want. At the time I selected HG, Dominicz didn't look like an option but it's definitely matured and I've recently considered it as a switch. HG's author has decided to step back a bit and the future isn't as secure if updates are required.

      That said, I didn't opt to install a RFM69 directly onto the RPI since I wasn't sure it had sufficient power to run HA and do real time processing of 433MHz signals.

      posted in General Discussion
      bkenobi
      bkenobi
    • RE: Gateway for other protocols?

      I have a RPI running a MQTT broker and HomeGenie. HG receives the MQTT messages and converts them for use with X10 primarily. I could have a 433MHz-to-MQTT gateway and a MySensors gateway. I'm currently having a heck of a time finding a solution to receive the 433 on the ESP though. I've yet to find working code that works with the RFM69 to receive commercial RF sensors. Any suggestions (if MySensors won't work) would be very much appreciated.

      posted in General Discussion
      bkenobi
      bkenobi
    • Gateway for other protocols?

      I assume I have not found my answer because this is not possible. I'll ask anyway to be sure.

      I want to use both MySensors and commercial sensors in my setup. I constructed an Arduino project a few years ago that decoded 3 different commercial sensors transmitting on 433MHz and sent the data to my HA system via MQTT. It functioned under ideal circumstances but was not reliable primarily due to range issues. I planned to migrate from an UNO + w5100 + superheterodyne 433MHz receiver to an ESP8266 (NodeMCU) + RFM69. At the time, I had no joy in getting the code to work as Arduino on ESP was new and buggy. I have tried recently and not gotten better results.

      So, I was wondering of MySensors gateways can receive both its own traffic as well as 433MHz commercial sensors. Obviously some code might be needed to define the protocol and properly decode. But, I don't want to waste lots of time hacking on the code that will never be capable.

      Any thoughts?

      Tl;Dr - can MS read RF from commercial sensors?

      posted in General Discussion
      bkenobi
      bkenobi
    • Port MySensors or my project?

      I have a project I wrote last year in the Arduino IDE intended to intercept 433MHz signals sent from off the shelf sensors to their base stations. Currently I can capture 3 different hardware in the same sketch with an Arduino Uno. But, the 433MHz receivers I have tried do not have very good range. I have a RFM69 that I planned to pair with an Arduino at one point, but then found the ESP8266 and switched gears. I am now hoping to pair the RFM69 with a NodeMCU board to act as a 433MHz to WiFi MQTT gateway.

      The problem I have is that (as of May when I checked last) there is no RFM69 library for Arduino IDE that is ESP8266 compatible. There is a MySensors library that I could use, but it's not a direct plug-in. It currently works with the MySensors RFM MQTT gateway (haven't tried but purportedly works). I am not a programmer by trade, so I don't know if I'd be better off trying to modify the MySensors library to work with my code or take the logic out of my project and splice it into the MySensors gateway code. That project is a lot more advanced than I really need as I'm not intending to build MySensors nodes.

      I had been going back and forth on this for months and put it on the back burner as I was busy with other things. I'd like to pick this up again in another month or two and right now I don't have a plan. Perhaps someone has released a RFM69 Arduino library that is ESP compatible in the last few months. If so, a link would be awesome. If not, maybe some advice or point out the pitfalls I'm not thinking about?

      I posted my code on GitHub in case anyone else has use for the decoders.
      https://github.com/bkenobi/ookDecoder

      posted in Development
      bkenobi
      bkenobi
    • RE: ESP8266 WiFi gateway port for MySensors

      Looking at the different charts, I've located some errors (I think).

      Looking at someburner's setup, it looks like he is opting to use software SPI rather than hardware as the ESP pins for SPI are not on GPIO12-15.

      Looking at halburd's code, it appears that he's opted to use GPIO2 for slave select and connect the actual SS to DIO0. I'm not clear why this is done, but it seems odd.

      I lost the reference to the last chart. It also uses GPIO's for SPI rather than the built-in hardware SPI. The guide in this sketch is only documented for nRF24L01+, so it doesn't match exactly. But, it also uses GPIO 4, 12, 13, 14, 15. It seems odd to use those rather than the SPI pins.

      posted in Development
      bkenobi
      bkenobi
    • RE: ESP8266 WiFi gateway port for MySensors

      Can anyone provide the correct wiring for NodeMCU (ESP-12E) to RFM69HW? I have seen several different guides that show connections for RFM69, but there are several different patterns and none have worked so far. Perhaps I didn't get it right, but this is what I've seen and tried:

      someburner/esp-rfm69

      RFM69->	ESP-12E
      MISO	GPIO12
      MOSI	GPIO13
      SCK		GPIO14
      CS/SS	GPIO15
      DIO0	GPIO5
      VCC		3V3
      GND		GND
      ANA		<antenna>
      

      halburd/NodeMCU-Gateway

      RFM69->	NodeMCU
      NSS		GPIO2 (J2P5)
      SCK		SCK (J1P9)
      MISO	MISO (J1P8)
      MOSI	MOSI (J1P6)
      DIO0	SS (J1P7)
      VCC		3V3
      GND		GND
      ANA		<antenna>
      

      I've also determined that the following should also be correct, though again, they all don't match.

      RFM69	ESP-12E	WEMOS D1	NodeMCUv3
      MISO	GPIO12	D6/D12		D6
      MOSI	GPIO13	D7/D11		D7
      SCK		GPIO14	D5/D13		D5
      CS/SS	GPIO15	D10			D8
      DIO0	GPIO5	D3/D15		D1
      

      I've also tried to figure out how to use the nRF24L0+ wiring, but that doesn't quite match either. If someone could simply post a working config, I could get some traction on my project.

      posted in Development
      bkenobi
      bkenobi
    • ESP8266 to RFM69 gateway library?

      I've spent the last few weeks scouring the internet for an Arduino IDE compatible library that runs on the ESP8266 that will allow the use of an RFM69 radio to receive sensor data. I have found several that sound close, but nothing that I've been able to confirm will work without using an Arduino as a go-between. I am trying to use a NodeMCU as the controller and the RFM69HW module as the receiver. The end game will be to decode signals from various sensors and send them to my MQTT broker over WiFi. Right now I'm stuck on the RFM69 library, so any help would be great!

      posted in Development
      bkenobi
      bkenobi