pi based braumesiter wifi module

Australia & New Zealand Homebrewing Forum

Help Support Australia & New Zealand Homebrewing Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

RogueRanga

Member
Joined
5/8/18
Messages
16
Reaction score
6
Location
Central Coast
I have been trying to figure out how to make a raspberry pi based wifi module for the BM. so far I have figured out the pinout for the UART port on the BM and I can connect a PC to the BM. When I connect the BM to the PC the lights turn green ready for the firmware to be uploaded. I dont have a wifi module handy to fix it if I brick it with my cable so I have not tried to flash new firmware yet. A few beers one night might change that...

The next step is to figure out how to get past the "wifi modul not present" message on the BM when I try to enable the wifi module. I have used a Bus Pirate to as a logic analyser but it does not output anything. I tried to reverse engineer the firmware but it looks like its encrypted. I looked at the strings in the firmware and it looks like the wifi module talks to the BM with AT commands. i have done some reading and the wifi module is a wifi to serial server. Something like a rs 9110:
http://www.redpinesignals.com/Produ...9110_Modules/Connect-io-n/RS-9110-N-11-24.php

I'm pretty sure there is some negotiation that happens when the wifi unit is plugged into the BM (baud rate etc) but I cant figure that pert out yet.

Does anyone have some pictures of the insides of the wifi unit? I would like to know what wifi to serial device speidel is using exactly so I can try to get a pi to do the same thing. any pics or input would be appreciated
 
Yeah someone has made a web front end for the wifi module but no one has tried to reverse engineer the wifi module or the protocol.

My guess is that when the module is plugged in and powers on, it sends a connect packet to the BM. The hard part is working out what that is without a wifi module.

I've done some more digging and discovered that the other 8 headers in the middle of the board are JTAG. Atmel use a proprietary JTAG so I would need a dragon or atmel-ice to debug it (which I don't have)
 
So just an update to anyone interested. I was pretty much spot on with the guess of the wifi module being a RS-9110 from redpine signals. I have been able to figure out the pinout of the connector and successfully connect to the BM and assign it an ip address with a python script. The next task is to send it some recipes and key press requests.
 
So just an update to anyone interested. I was pretty much spot on with the guess of the wifi module being a RS-9110 from redpine signals. I have been able to figure out the pinout of the connector and successfully connect to the BM and assign it an ip address with a python script. The next task is to send it some recipes and key press requests.

Just be aware that they changed things significantly in the last firmware update so if you get it all working then update you may find some of it then not working again.
Fantastic work though!
 
Just be aware that they changed things significantly in the last firmware update so if you get it all working then update you may find some of it then not working again.
Fantastic work though!

ah ok. i just updated it from 1.1.25 to 1.1.27 and it now has a register feature. is 1.1.27 what you are referring to?
 
Yes. You need to have a MySpeidel account and to register the same email on the BM after updating.
Great to see it is working though.
 
Yeah still working on it. The wifi controller acts kind of like a server to the BM. I am able to reply to BM requests easily enough but it's proving difficult to send unsolicited requests to the BM ( like when you send a http request to the BM to press a button on it)
 
I wonder if the previous firmware would be easier to start with, I am sure someone on the BM forum was sent a copy by Speidel when they insisted they wanted to revert.
 
Yeah tbh I'm not sure if it matters that much. I was on 1.1.25 and I tried to send a button press to it via http, but I could not get a response from the BM. Now on 1.1.27 when I press the register button, the BM sends a http request to the rpi should be passed on to the speidel site. It is passed on and the rpi gets a 200OK from speidel. It sends the 200OK to the BM via http, but again no response. Im think that I'm not encoding the http request/response to the BM properly or not including some headers or something. I'm making progress but it's lots of trial and error

I did actually extract the 1.1.25 firmware from the BM with avrosp.exe before upgrading so I might try to put it back on. At least with 1.1.25 it's 1 less step that I have to go through to get it working.
 
I'm sure someone had created software (python?) that allowed you to control a WiFi BM, at least for software prior to the 1.1.27. It might be worth having a search to save you some time. I will try and find the links but am away from home at the moment so just on my phone.
 
Yeah I have seen that. I can't justify $200 for a wifi module so I'm trying to get a pi to replace the whole thing. Which a bit different the what's available now
 
Yeah I have seen that. I can't justify $200 for a wifi module so I'm trying to get a pi to replace the whole thing. Which a bit different the what's available now

I just meant the software might help you with your clone as I'm sure someone figured out the control methods, at least prior to 1.1.27.
 
ahh finally got the BM to reply to http requests from the rpi! ill work on a web interface for it now.

Which firmware version? Great work by the way, one of the most interesting things coming out on the BM side for a while.
 
Which firmware version? Great work by the way, one of the most interesting things coming out on the BM side for a while.
Using 1.1.26 right now, so not with the registration part. Although I don't think it would be too hard to get it working with 1.1.27. When its on 1.1.27, the BM sends a DNS lookup for speidel.com (which I just return 127.0.0.1), then it does a http post to 127.0.0.1 with the email address. I should be able to just return a 200 OK to the POST to keep it happy.

Does 1.1.27 actually give you any more features? If so I could work on that firmware to start with.
 
I think for most users it would be preferable to work on the 1.1.27 firmware, the release notes are below:


- Client function for the Braumeister to connect the Braumeister from everywhere via MySpeidel
- hop additions in X min, bugfixes. Includes also the serial veresion 1.1.25/ 1.1.26 and an optional update for the wifi-module 4.8.5 (if the wifi is on 4.8.4, then update this first - version visible on the wifi settings, update starts automatically after removing the updatecable and connecting to the electricity, afterwards install the firmware for the Braumeister).

There are seemingly a few that are unhappy with the new client function that 1.1.27 bought but it is now required for using the cloud functionality and connecting to the BM from anywhere, unless using the third party synch script.
 
really curious to know where you are with this project .. any docs, cable howtos etc ? I write software for a living, so would be interested in helping write a ui for this ... ;)
 

Latest posts

Back
Top