Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Setup help needed #64

Closed
lobocobra opened this issue Mar 3, 2019 · 7 comments
Closed

Setup help needed #64

lobocobra opened this issue Mar 3, 2019 · 7 comments
Labels
question Further information is requested

Comments

@lobocobra
Copy link

lobocobra commented Mar 3, 2019

my setup
I have a buderus GB125 with an RC35.
I have a bbqkees board with a WEMOS with your firmware on it (loaded by bbqkees)
I connected the EMS bus through the Jack.
I connected the bbqkees board to the WEMOS like described (and even switched rx/tx just to be sure
=> I can connect over telnet, tried autoconnect but nothing happens, the LED blinks.

Question
My WEMOS is blinking, which seems to mean, that it did not connect. Probably I did something wrong,

  1. Where do I find a step by step howto, what to connect first (I did read the Wiki 3x, it tells much, but not in which sequence to connect what and also not how autoconnect works)
  2. I connected my Buderus through the Jack because both EMS ports have a cable in => Can I simply add the board by adding the cable to the used plug?
  3. How do I use "autoconnect", do I have to initialize first the Buderus, Do I find somewhere the code for the RC35?
    => Please give me a hint where to start. I usually find out how things work alone, but I am stuck here.

Screenshots
=> if requested I will add it

Device information
Verbose mode shows SILENCE.... I have no connection to EMS

Additional context
I tried the following:
0) Did the cabling connect to USB

  1. changed the WIFI / PW an was able to connect through telnet to the WEMOS
  2. I connected the jack of the bbqkees board to my Buderus (like I saw it on the Wiki)
  3. The WEMOS is blinking, so I tried to switch RX/TX => it continues to blink
  4. So I started autodetect over telnet, but nothing happens => I seem to have no connection to EMS
  5. I checked if I have the right jack-cable, it is a stereo cable and works fine.
  6. I stopped the heating and restarted it, hoping it had to do with the initialization => Failed
  7. I searched for a beginner Howto for 2hours to see if I jumped a step. => Nothing found.
  8. checked the cabeling, seems to work according to WIKI and the instructions of bbqkees.
  9. Restarted WEMOS/Buderus Heating around 10x to understand if one needs to be there before the other.
  10. now I have no clue what to do else.
@lobocobra lobocobra added the question Further information is requested label Mar 3, 2019
@proddy
Copy link
Collaborator

proddy commented Mar 3, 2019

lots of questions! First you need to get the EMS messages flowing in. You said you're able to Telnet to the ESP which is good, so I assume you have set the wifi username and password and have turned serial off. If then you still get the flashing LED, plug the ESP into the PC via the USB, turn the serial on and try and see what error messages show up.

If in doubt download the source code, compile and upload yourself. Also do a 'pio run -t erase' to remove any left over settings.

@lobocobra
Copy link
Author

MANY THANKS @proddy!

The serial OFF did the trick! I will write here a short howto, in the next days for others!

@proddy
Copy link
Collaborator

proddy commented Mar 3, 2019 via email

@lobocobra
Copy link
Author

lobocobra commented Mar 3, 2019

First time users setup guide

Hardware pre-requisites

  • bbqkees EMS board
  • Wemos D1 mini (from bbqkees with pre-installe firmware or install it yourself)
  • EMS compatible heating/boiler
  • a stereo jack cable

Hardware wiring

  • connect J2 ground to wemos "G"
  • connect J2 RX to wemos D7
  • connect J2 TX to wemos D8
  • connect J2 VC to wemos 3V3 (! check this twice)
  • set the EMS boardresistor Jumper to 100k
  • connect wemos usb-mini to the USB of a laptop/computer with WIFI (during setup)
    Remarks
    If RX/TX are switched, there is no harm for your board, but transmission will not work.
    => RX/TX are already crossed with this setup, just plug them as described above.
    WEMOS D1 will power the bbqkees board, with the right voltage.

Connect to WEMOS (assuming win10, if you have linux, you know what to do)

  • in Win10 activate telnet client (if you have linux, install it):
    dism /online /Enable-Feature /FeatureName:TelnetClient
    or
    use putty
    or check this link
    https://www.tobias-hartmann.net/2016/11/windows-10-telnet-aktivieren/
  • connect your computer/laptop to the WEMOS wifi (search for the EMS-ESP wifi)
    Remarks
    Your computer should be now connected to the WIFI of the WEMOS. If not, you need to use google, to achieve this.
    The WEMOS will continue to blink, this means that it is not connected to EMS, we fix that in the next steps.

Configure WEMOS

  • blue LED is blinking (means not connected)
  • open a non-administrative CMD window and insert following commands
  • "telnet 192.168.4.1" (connect to wemos, check that you are connected)
  • "set wifi your_ssid your_password"
  • "set <mqtt_host | mqtt_username | mqtt_password> " (if you have no user/PW, just add mqtt host)
  • "reboot" (now your WEMOS should be connected to your WLAN and the EMS-ESP domain is not visible anymore)
  • check the IP of your wemos in your router
  • "telnet xx.xx.xx.xx" (the new ip of your WEMOS)
  • "set serial off" (without this step your WEMOS will not connect to EMS!!!)
    Remarks
    After those steps your WEMOS is still blinking and you can access the WEMOS over the new IP.

Connect your setup with your heating/boiler

  • when the WEMOS is blinking, this means its not connected to the EMS bus!
  • connect the stereo-jack cable to your heating and into EMS board
    => you do NOT need to restart your heating, if all is correct its PLUG & PLAY
    => at this point the WEMOS needs to stop blinking and the LED is ON

If the LED is not blinking then the setup is working. Type in the consolve "log v" to check the data flow.
Now you can remove the WEMOS from your laptop and power the USB mini with 5V 250 mA and finish your installation.

@proddy
Copy link
Collaborator

proddy commented Mar 3, 2019

thanks

@lobocobra
Copy link
Author

Solution summary:
=> "serial off" did the trick!

Many thanks to proddy for the solution. I hope this guide help some others.

@proddy
Copy link
Collaborator

proddy commented Mar 3, 2019

I modified my Getting Started text in the README to hopefully make it more understandable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants