Giter Club home page Giter Club logo

esp-home-iboost's Introduction

ESP-Home-iBoost

"Buy Me A Coffee"

ESPHome Marlec iboost integration

This project will allow you to monitor and control Marlec iBoost+ with Home Assistant.

It is based on a ESP8266 board and a CC1011 868MHz module.

Pin Connections

CC1101 NodeMCU
CSN D8(CS)
CSK(CLK) D5()
MISO D6(MISO) + D2
MOSI D7(MOSI)
GND GND
VCC 3.3V

IMPORTANT: CC1101-MISO + D6 + D2 need to be connected together. MISO is connected with both D6 and D2. The MCU cannot do digitalRead with MISO(D6) when SPI is active, so we digitalRead(D2) instead

CC1101 Module Pinout

The module pinout (component side) is:

       ___________________
VCC   |o                  |
GND   |o                  |  
MOSI  |o                 o|GND
CLK   |o                 o|ANT
MISO  |o                 o|GND
GDO2  |o                  |
GDO0  |o                  |
CSN   |o__________________|

Frequency tuning

I bought a few of these modules and most have Xtals that are a little off frequency. This affects the quality of the received packets and can dramatically decrease the range at which you can receive packets from the iBoost. You can buy a better Xtal like Epson X1E0000210666 from Farnell (2471832), or change the frequency in the iBoost.h file.

Below are some suggested values. The default is 868300000.

Freq Dec HEX
868425000 2188965 2166A5
868400000 2188902 216666
868375000 2188839 216627
868350000 2188776 2165E8
868325000 2188713 2165A9
868300000 2188650 21656A
868275000 2188587 21652B
868250000 2188524 2164EC
868225000 2188461 2164AD
868200000 2188398 21646E
868175000 2188335 21642F

To make these changes you will need to edit iBoost.h and change these lines:

radio.writeRegister(CC1101_FREQ2, 0x21); // 868.300MHz  (868300000 <<16)/26000000
radio.writeRegister(CC1101_FREQ1, 0x65);
radio.writeRegister(CC1101_FREQ0, 0x6a);

For example, if you wanted to try 868350000 Hz, the hex is 2165E8, so you would change those lines to read:

radio.writeRegister(CC1101_FREQ2, 0x21);
radio.writeRegister(CC1101_FREQ1, 0x65);
radio.writeRegister(CC1101_FREQ0, 0xe8);

Look at the LQI value in the debug output for an indication of received packet quality. Lower is better. Using the default settings a typical LQI of around 100 could be seen at approx. 5M from the iBoost. By changing the frequency to 21 65 EB the LQI dropped to 1 or 2. A significant improvement in packet quality.

When looking at the debug output the bytes from the received packets are printed. The third byte represents the source of the packet:

  • 01 - Clamp sensor / sender
  • 21 - iBoost Buddy sending a request
  • 22 - iBoost main unit metrics data

You should optimize receive quality for the iBoost main unit (0x22).

When you make a change to iBoost.h you will need to rebuild and re-flash your ESP8266 device with the new code.

Building the project

This project needs to be built from within ESPHome. You can do this from Home Assistant if you have the relevant add-on installed (you need to be running Home Assistant supervisor for this) or from the ESPHome command line interface which can be installed as a Python module or as a Docker container. Full details on how to install ESPHome are available on the ESP web page.

Once ESPHome is installed you need to copy all the files from this repo in to the ESPHome working directory (called "config" directory in the Docker version) and either:

Run esphome run iBoost.yaml from the command line.

Or

Run the Docker container which provides a web interface, point your browser at http://127.0.0.1:6052 and locate the iBoost device in the list, click the menu button and choose Install.

If you receive an error along the lines of: undefined reference to _ZN6CC110113writeRegisterEhh' then you should copy CC1101_* in to .esphome/build/cc1101/src/ and try again.

I have included a slightly modified version of CC1101_RF. The only modification is to make all the functions public as I needed access to the low level stuff.

esp-home-iboost's People

Contributors

jnswanson avatar 8none1 avatar arthuriansoft avatar richardctrimble avatar

Stargazers

 avatar Cliff Redmond avatar Ashley Medway avatar  avatar  avatar  avatar Gareth Marlow avatar  avatar Ben Swanson avatar  avatar  avatar  avatar Charlie Powell avatar  avatar Nathaniel Catchpole avatar  avatar  avatar  avatar Maksym avatar

Watchers

 avatar Maksym avatar Cliff Redmond avatar  avatar Jim avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

8none1 maksyms

esp-home-iboost's Issues

Enabling RF on iBoost with restricted RF

Does anybody know if it is possible to switch on the RF used by the iBuddy on the iBoost board. Is there a switch for it. In NZ the iBoost does not support the iBuddy but presume it is just something on the board that disables this.

Undefined reference errors while compiling cc1011/firmware.elf

Can't wait to try this :) I'm seeing the following errors while trying to build the firmware on my Fedora server. Any pointers gratefully received!

(venv) [root@ldn ESP-Home-iBoost]# esphome run iBoost.yaml
ESPHome 2023.5.4
INFO Reading configuration iBoost.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing cc1101 (board: d1_mini; framework: arduino; platform: platformio/[email protected])
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 1.2.3
|-- SPI @ 1.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
|   |-- ESPAsyncTCP-esphome @ 1.2.3
|   |-- Hash @ 1.0
|   |-- ESP8266WiFi @ 1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
Linking .pioenvs/cc1101/firmware.elf
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x70): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x74): undefined reference to `_ZN6CC110113writeRegisterEhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x78): undefined reference to `_ZN6CC110118writeBurstRegisterEhPKhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x7c): undefined reference to `_ZN6CC11019getPacketEPh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x80): undefined reference to `_ZN6CC11015crcokEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x84): undefined reference to `_ZN6CC11016getLQIEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x88): undefined reference to `_ZN6CC110110getRSSIdbmEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x196): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o: in function `_ZN11iBoostBuddy4loopEv':
main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1a2): undefined reference to `_ZN6CC110113writeRegisterEhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1b1): undefined reference to `_ZN6CC110118writeBurstRegisterEhPKhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1bb): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1cf): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1e1): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1eb): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1f5): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x218): undefined reference to `_ZN6CC11019getPacketEPh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x226): undefined reference to `_ZN6CC11015crcokEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x244): undefined reference to `_ZN6CC11016getLQIEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x29c): undefined reference to `_ZN6CC110110getRSSIdbmEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x28): undefined reference to `_ZN6CC11015resetEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x2c): undefined reference to `_ZN6CC11015beginEj'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x30): undefined reference to `_ZN6CC110113setMaxPktSizeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x34): undefined reference to `_ZN6CC110110setRXstateEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x73): undefined reference to `_ZN6CC11015resetEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x7e): undefined reference to `_ZN6CC11015beginEj'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x88): undefined reference to `_ZN6CC110113setMaxPktSizeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x94): undefined reference to `_ZN6CC110113writeRegisterEhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xa1): undefined reference to `_ZN6CC110113writeRegisterEhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xae): undefined reference to `_ZN6CC110113writeRegisterEhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xba): undefined reference to `_ZN6CC110113writeRegisterEhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xc6): undefined reference to `_ZN6CC110113writeRegisterEhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xd2): more undefined references to `_ZN6CC110113writeRegisterEhh' follow
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o: in function `_ZN11iBoostBuddy5setupEv':
main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x22c): undefined reference to `_ZN6CC110118writeBurstRegisterEhPKhh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x236): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x240): undefined reference to `_ZN6CC11016strobeEh'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x250): undefined reference to `_ZN6CC110110setRXstateEv'
/root/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text.startup._GLOBAL__sub_I_logger_logger+0x0): undefined reference to `_ZN6CC1101C1EhhR8SPIClass'
collect2: error: ld returned 1 exit status
*** [.pioenvs/cc1101/firmware.elf] Error 1
================================================================================================================================================================================ [FAILED] Took 3.11 seconds ================================================================================================================================================================================

What does the iBoost 'import' figure refer to

An import value is accessible on the LCD panel and available to ESP-Home-iBoost. It is an instantaneous power value, with no cumulative energy value available.

I see that it displays import used for boosts. But when boost is not operating, diversion only, the import figure is usually non-zero and quite often negative.

Are the positive figures "overshoot" as it iterates towards optimum diversion and perhaps gets caught out by sudden cloud shading?

And what is indicated by a negative import figure?

Ability to report which heater is on

Is it possible to see which heater is on? I have both heaters connected, and the iBoost itself says Htr1 or Htr2 depending on which one is heating. But I haven't seen that on Buddy. Do you know if the information about which Htr is on available?

Troubles Installing & Compiling

I love your work!

I'm running into issues compiling and would really appreciate any guidance you can give. I am running HA 2024.7.4 / Supervisor 2024.08.0 and ESPHome 2024.3.2. I am running ESPHome as an add-on.

I have created a fresh ESPHome entry and given it a API key and it runs rock steady without any changes to the standard basic YAML. It is a Wesmos D1 Mini 8266.

When I tried to compile the ESP-Home-iBoost code, I was getting various 'undefined reference to `_ZN6CC110110getRSSIdbmEv' errors. I read #10 (comment) but when I added the files to the /data/build/esphome-web-22c6a3/src directory, I got a lot of red and yellow errors which suggested that the code was calling for routines that it couldn't find.

I have got the most success by adding the CC1101_RFx.cpp file into the :include section of my yaml file, when the code compiled OK. However, the device then goes into a continuous boot loop, so I don't think that's the right place to put it. I have disconnected the wires to the CC1101 in case the linked D6 & D2 was causing an issue, but it still went into a boot loop.

Where does the iboost.h file should go? I had uploaded it to HA /config/esphome directory and didn't see any errors relating to this file when compiling.

Could my issues be because my ESP device is not called 'iboost' or 'CC1101', but 'ESPHome Web 22c6a3'?

Any pointers would be gratefully received as I'm itching to get this working :)

This is what I have in my yaml file for the esphome section:

esphome:
  name: cc1101
  platform: ESP8266
  board: d1_mini
  includes:
    - iBoost.h
    - CC1101_RFx.h
  libraries:
    - SPI

Many thanks!

Installing/updating in the Home Assistant ESPHome addon?

Has anyone managed to use the Home Assistant esphome addon to install/update the firmware? I just tried, and got the usual CC1101_RFx-related errors.

Does anyone know where you're supposed to copy the .cpp and .h files so that the esphome addon can see them when compiling? (Presumably somewhere in a docker container?). For now I've compiled the latest version back on my server (rather than RPi) manually using esphome cmdline, but would be great if we could update without doing that. Cheers!

Remotely varying iBoost diversion to account for factors other than detected solar surplus

I'm looking for a way to automatically deactivate my iBoost+ solar diversion when certain conditions are met, probably via a Home Assistant automation.

If I can do this via ESP-Home-iBoost then that would be great. There isn't an obvious way to achieve that from within ESP-Home-iBoost though I wonder whether it might be possible to flood the iBoost+ with messages telling it there is no surplus solar, i.e. simulate Sender messages rather than simulating iBoost Buddy messages?

Other thoughts I have had:

  • power the sender with a mains adaptor instead of batteries (my sender has the 3.4V input socket). Then I can control the power supply with a smart socket (I have some spare Kasa KP105 and also some zigbee power adaptors). When I want the iBoost+ to be inactive (other than scheduled/manual boosts) I can remove power to the sender.

  • insert a 16A relay such as Shelly plus 1 between the power source and the iBoost+ (I suspect that frequent power cycling of the iBoost+ unit is probably not a good idea and also would not be very responsive)

  • insert a 16A relay such as a Shelly plus 1 between the iBoost+ output and the load (in effect simulating tank is hot and thermostat is open)

Any other suggestions welcome.

unable to compile yaml

Hi, love the work but im having multiple issues compiling the yaml, im not sure but i suspect this maybe down to me running the esphome addon through HA OS rather than docker. i receive the following error on compile:

all files are cloned to config/esphome

esp8266

Edit: spun up esphome on docker and got the same errors.

Thank you in advance for any help you may have.

error logs attached

logs_iBoost_compile (2).txt

compilation error

when compiling I get the following. the .bin still uploads and the device worked in home assistant, just wondering what it is?

Compiling .pioenvs/cc1101/libfa0/SmartRC-CC1101-Driver-Lib/ELECHOUSE_CC1101_SRC_DRV.cpp.o
.piolibdeps/cc1101/SmartRC-CC1101-Driver-Lib/ELECHOUSE_CC1101_SRC_DRV.cpp: In member function 'void ELECHOUSE_CC1101::Reset()':
.piolibdeps/cc1101/SmartRC-CC1101-Driver-Lib/ELECHOUSE_CC1101_SRC_DRV.cpp:149:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
149 | while(digitalRead(MISO_PIN));
| ^~~~~
.piolibdeps/cc1101/SmartRC-CC1101-Driver-Lib/ELECHOUSE_CC1101_SRC_DRV.cpp:150:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
150 | digitalWrite(SS_PIN, HIGH);
| ^~~~~~~~~~~~
.piolibdeps/cc1101/SmartRC-CC1101-Driver-Lib/ELECHOUSE_CC1101_SRC_DRV.cpp: In member function 'void ELECHOUSE_CC1101::setPA(int)':
.piolibdeps/cc1101/SmartRC-CC1101-Driver-Lib/ELECHOUSE_CC1101_SRC_DRV.cpp:498:13: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
498 | PA_TABLE[1] = a;
| ~~~~~~~~~~~~^~~

Typical LQI values for good connections?

Hi!

Thanks for your work on this project, I'm really excited to be able to control my iBoost as I need to now.

I've successfully built and connected to the iBoost.

With a cheapo eBay radio module and the default settings for frequency I was getting an LQI of 127.

Things were working fine, but I thought I would just try and nudge it up the frequecy spectrum slighly, and was then able to get an LQI of between 30 and 100.

This is lower, but do you know if it's low enough?

What is a typical "good" LQI I should be aiming for?

I'll be happy to update the README and provide a PR with the updated info for future readers.

Cheers!

Undefined reference errors while compiling cc1011/firmware.elf (.esphome folder has been removed and replaced with /data)

When using ESPhome on Hassio

Now .esphome has been moved to /data inside the docker container do you know the replacement for the command;
cp CC1101_RFx.* .esphome/build/cc1101/src/

For Reference

https://esphome.io/changelog/2023.9.0.html#

Breaking Changes
Home Assistant Add-on
The /config/esphome/.esphome folder has been removed and replaced with /data when running ESPHome as a Home Assistant add-on. This was done because it is exactly what the add-on /data folder was made for and there were many files in the .esphome

Unable to Compile

I am running HA 2024.7.4 / Supervisor 2024.08.0 but I am running into errors when compiling on a d1_mini 8266. I am using ESPHome as an Add On within HA.

I have tried copying the CC1101_* files to various locations, but to no avail.

Folders I have copied to:

/data/build/iboost/src
/config/esphome
/config/esphome/.esphome/build/iboost/src

The error is at the end of the compile logs.

Any help gratefully appreciated!!

INFO ESPHome 2024.3.2
INFO Reading configuration /config/esphome/iboost.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing cc1101 (board: d1_mini; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- SPI @ 1.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
Linking .pioenvs/cc1101/firmware.elf
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x2c): undefined reference to `_ZN6CC11015resetEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x30): undefined reference to `_ZN6CC11015beginEj'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x34): undefined reference to `_ZN6CC110113setMaxPktSizeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x38): undefined reference to `_ZN6CC110113writeRegisterEhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x3c): undefined reference to `_ZN6CC110118writeBurstRegisterEhPKhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x40): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x44): undefined reference to `_ZN6CC110110setRXstateEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x83): undefined reference to `_ZN6CC11015resetEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x8e): undefined reference to `_ZN6CC11015beginEj'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x98): undefined reference to `_ZN6CC110113setMaxPktSizeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xa4): undefined reference to `_ZN6CC110113writeRegisterEhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xb1): undefined reference to `_ZN6CC110113writeRegisterEhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xbe): undefined reference to `_ZN6CC110113writeRegisterEhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xca): undefined reference to `_ZN6CC110113writeRegisterEhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xd6): undefined reference to `_ZN6CC110113writeRegisterEhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0xe2): more undefined references to `_ZN6CC110113writeRegisterEhh' follow
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o: in function `_ZN11iBoostBuddy5setupEv':
main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x23c): undefined reference to `_ZN6CC110118writeBurstRegisterEhPKhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x246): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x250): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy5setupEv[_ZN11iBoostBuddy5setupEv]+0x260): undefined reference to `_ZN6CC110110setRXstateEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x90): undefined reference to `_ZN6CC11019getPacketEPh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x94): undefined reference to `_ZN6CC11015crcokEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x98): undefined reference to `_ZN6CC11016getLQIEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x9c): undefined reference to `_ZN6CC110110getRSSIdbmEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1a2): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1ae): undefined reference to `_ZN6CC110113writeRegisterEhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1bd): undefined reference to `_ZN6CC110118writeBurstRegisterEhPKhh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1c7): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1db): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o: in function `_ZN11iBoostBuddy4loopEv':
main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1ed): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x1f7): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x201): undefined reference to `_ZN6CC11016strobeEh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x224): undefined reference to `_ZN6CC11019getPacketEPh'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x232): undefined reference to `_ZN6CC11015crcokEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x251): undefined reference to `_ZN6CC11016getLQIEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: main.cpp:(.text._ZN11iBoostBuddy4loopEv[_ZN11iBoostBuddy4loopEv]+0x2a8): undefined reference to `_ZN6CC110110getRSSIdbmEv'
/data/cache/platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/cc1101/src/main.cpp.o:(.text.startup._GLOBAL__sub_I_logger_logger+0x0): undefined reference to `_ZN6CC1101C1EhhR8SPIClass'
collect2: error: ld returned 1 exit status
*** [.pioenvs/cc1101/firmware.elf] Error 1
========================== [FAILED] Took 3.43 seconds ==========================

Managing two iBoost+

I have two iBoost+. Each one is connected to a different phase of my 3-phase power supply and each one is connected to different immersions in different tanks, i.e. they operate completely independently. However they are sited adjacent to each other, both mounted on the same wall.

With this project, which does not seem to feature pairing, will I be able to target each iBoost+ independently, or will it be a matter of luck/chance whichever iBoost+ the ESP board connects to?

Perhaps I will be lucky and my two iBoost+ are both detuned but in opposite directions and I'll be able to make two ESP-Home-iBoost kits and target one at the precise frequency of each iBoost+??!

Perhaps I can relocate the iBoost+ so that they are a bit more widely separated than they are now, and mount the ESP-Home-iBoost directly on the case of each iBoost+ so that each ESP might talk to the iBoost+ on which it is mounted.

Any other thoughts?

Thanks

Component <unknown> took a long time for an operation (0.08 s).

After updating the firmware to the latest version it doesn't appear to be trying to initiate the radio anymore:

INFO ESPHome 2023.8.1
INFO Reading configuration /config/esphome/iBoost.yaml...
INFO Starting log output from iboostesphome.local using esphome API
INFO Successfully connected to iboostesphome.local
[17:14:10][I][app:102]: ESPHome version 2023.8.1 compiled on Aug 19 2023, 14:16:52
[17:14:10][C][wifi:543]: WiFi:
[17:14:10][C][wifi:379]:   Local MAC: C4:5B:BE:4C:CB:12
[17:14:10][C][wifi:380]:   SSID: [redacted]
[17:14:10][C][wifi:381]:   IP Address: 192.168.1.173
[17:14:10][C][wifi:382]:   BSSID: [redacted]
[17:14:10][C][wifi:384]:   Hostname: 'iboostesphome'
[17:14:10][C][wifi:386]:   Signal strength: -74 dB ▂▄▆█
[17:14:10][C][wifi:390]:   Channel: 11
[17:14:10][C][wifi:391]:   Subnet: 255.255.255.0
[17:14:10][C][wifi:392]:   Gateway: 192.168.1.1
[17:14:10][C][wifi:393]:   DNS1: 192.168.1.1
[17:14:10][C][wifi:394]:   DNS2: 0.0.0.0
[17:14:10][C][logger:301]: Logger:
[17:14:10][C][logger:302]:   Level: DEBUG
[17:14:10][C][logger:303]:   Log Baud Rate: 115200
[17:14:10][C][logger:305]:   Hardware UART: UART0
[17:14:10][C][template.number:050]: Template Number 'iBoost Manual Boost Time'
[17:14:10][C][template.number:050]:   Icon: 'mdi:solar-power'
[17:14:10][C][template.number:050]:   Unit of Measurement: 'Minutes'
[17:14:10][C][template.number:051]:   Optimistic: YES
[17:14:10][C][template.number:052]:   Update Interval: 60.0s
[17:14:10][C][captive_portal:088]: Captive Portal:
[17:14:10][C][mdns:112]: mDNS:
[17:14:10][C][mdns:113]:   Hostname: iboostesphome
[17:14:10][C][ota:093]: Over-The-Air Updates:
[17:14:10][C][ota:094]:   Address: iboostesphome.local:8266
[17:14:10][C][ota:097]:   Using Password.
[17:14:10][C][api:138]: API Server:
[17:14:10][C][api:139]:   Address: iboostesphome.local:6053
[17:14:10][C][api:141]:   Using noise encryption: YES
[17:15:25][I][ota:113]: Boot seems successful, resetting boot loop counter.

It just sits here, no mention of SPI, radios etc.... anyone else seeing this?

Boot Loops at Radio Reset

Extracted from the closed issue where I had issues compiling (now resolved using esphome command line).

I am getting boot loops still and have tried 2x ESP32s and CC1101 modules and followed the wiring meticulously. The manufacturer has confirmed the pin outs are as printed on the board and I've checked continuity between the ESP and the module.

I have enabled verbose logging and the ESP32 boots fine up until it reports SPI OK (just before radio reset) and then it reboots.

Has anyone got a link to a reliable source for the CC1101 radio, as I have tried two variants and I'm not convinced that the pin outs documented are accurate, so I am not sure if I have fried them by following the supplied pin outs, which the manufacturer has subsequently said are different

Here's the ESP logs in case they help with identifying the root cause:

[14:13:56]SDK:2.2.2-dev(38a443e)/Core:3.1.2=30102000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386
[14:13:56][I][logger:034]: Log initialized
[14:13:56][I][app:029]: Running through setup()...
[14:13:56][V][app:030]: Sorting components by setup priority...
[14:13:56][D][number:012]: 'iBoost Manual Boost Time': Sending state 15.000000
[14:13:56][C][wifi:047]: Setting up WiFi...
[14:13:56][C][wifi:060]: Starting WiFi...
[14:13:56][C][wifi:061]:   Local MAC: A0:20:A6:22:C6:A3
[14:13:56][V][wifi_esp8266:061]: Enabling STA.
[14:13:56]mode : sta(a0:20:a6:22:c6:a3)
add if0
[V][wifi_esp8266:556]: Event: Changed Mode old=OFF new=STA
[14:13:56]wifi evt: 8
nul mode, fpm auto sleep set:enalbe
sleep disable
[D][wifi:481]: Starting scan...
[14:13:56][W][component:157]: Component wifi set Warning flag: scanning for networks
[14:13:56]scandone
[D][wifi:496]: Found networks:
[14:13:56][I][wifi:539]: - 'Sunnydene2.4' [redacted]▂▄▆█
[14:13:56][D][wifi:541]:     Channel: 13
[14:13:56][D][wifi:542]:     RSSI: -65 dB
[14:13:56][I][wifi:539]: - 'Sunnydene2.4' [redacted]▂▄▆█
[14:13:56][D][wifi:541]:     Channel: 13
[14:13:56][D][wifi:542]:     RSSI: -65 dB
[14:13:56][I][wifi:539]: - 'Sunnydene2.4' [redacted]▂▄▆█
[14:13:56][D][wifi:541]:     Channel: 13
[14:13:56][D][wifi:542]:     RSSI: -73 dB
[14:13:56][I][wifi:539]: - 'Sunnydene2.4' [redacted]▂▄▆█
[14:13:56][D][wifi:541]:     Channel: 13
[14:13:56][D][wifi:542]:     RSSI: -76 dB
[14:13:56][I][wifi:539]: - 'Sunnydene2.4' [redacted]▂▄▆█
[14:13:56][D][wifi:541]:     Channel: 13
[14:13:56][D][wifi:542]:     RSSI: -83 dB
[14:13:56][D][wifi:544]: - [redacted] [redacted]▂▄▆█
[14:13:56][D][wifi:544]: - [redacted] [redacted]▂▄▆█
[14:13:56][D][wifi:544]: - [redacted] [redacted]▂▄▆█
[14:13:56][D][wifi:544]: - [redacted] [redacted]▂▄▆█
[14:13:56][I][wifi:312]: WiFi Connecting to 'Sunnydene2.4'...
[14:13:56][V][wifi:314]: Connection Params:
[14:13:56][V][wifi:315]:   SSID: 'Sunnydene2.4'
[14:13:56][V][wifi:318]:   BSSID: DC:39:6F:72:EF:05
[14:13:56][V][wifi:348]:   Password: [redacted]
[14:13:56][V][wifi:353]:   Channel: 13
[14:13:56][V][wifi:362]:   Using DHCP IP
[14:13:56][V][wifi:364]:   Hidden: NO
[14:13:56][V][wifi_esp8266:514]: Event: Changed AuthMode old=OPEN new=WPA2 PSK
[14:13:56]wifi evt: 2
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 7
cnt 

connected with Sunnydene2.4, channel 13
dhcp client start...
[V][wifi_esp8266:490]: Event: Connected ssid='Sunnydene2.4' bssid=DC:39:6F:72:EF:05 channel=13
[14:13:56]wifi evt: 0
ip:192.168.1.33,mask:255.255.255.0,gw:192.168.1.1
[V][wifi_esp8266:529]: Event: Got IP static_ip=192.168.1.33 gateway=192.168.1.1 netmask=255.255.255.0
[14:13:56]wifi evt: 3
[I][wifi:616]: WiFi Connected!
[14:13:56][C][wifi:427]:   Local MAC: A0:20:A6:22:C6:A3
[14:13:56][C][wifi:432]:   SSID: [redacted]
[14:13:56][C][wifi:435]:   IP Address: 192.168.1.33
[14:13:56][C][wifi:438]:   BSSID: [redacted]
[14:13:56][C][wifi:440]:   Hostname: 'iboost32'
[14:13:56][C][wifi:442]:   Signal strength: -69 dB ▂▄▆█
[14:13:56][V][wifi:444]:   Priority: 0.0
[14:13:56][C][wifi:446]:   Channel: 13
[14:13:56][C][wifi:447]:   Subnet: 255.255.255.0
[14:13:56][C][wifi:448]:   Gateway: 192.168.1.1
[14:13:56][C][wifi:449]:   DNS1: 192.168.1.1
[14:13:56][C][wifi:450]:   DNS2: 0.0.0.0
[14:13:56][D][wifi:625]: Disabling AP...
[14:13:56][C][api:025]: Setting up Home Assistant API server...
[14:13:56]SPI OK
[14:13:56][W][iBoost:113]: SPI OK
[14:13:56]
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

[14:13:56]Soft WDT reset
[14:13:56]
[14:13:56]Exception (4):
[14:13:56]epc1=0x40100765 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
[14:13:56]
[14:13:56]>>>stack>>>
[14:13:56]
[14:13:56]ctx: cont
[14:13:56]sp: 3ffffcf0 end: 3fffffd0 offset: 0160
[14:13:56]3ffffe50:  40201094 3ffefc18 3ffefa7c 4020109e  
[14:13:56]3ffffe60:  00000000 3ffefc18 3ffefa7c 40211b76  
[14:13:56]3ffffe70:  3fff164c 00000008 3ffef960 402102bd  
[14:13:56]3ffffe80:  00000006 00000006 3fff20fc 40100d36  
[14:13:56]3ffffe90:  00000102 00000014 00000005 3fff1cdc  
[14:13:56]3ffffea0:  3fff1bf4 00000020 3fff151c 3fff1cdc  
[14:13:56]3ffffeb0:  3fff1bf4 3ffefa88 3fffff64 40213918  
[14:13:56]3ffffec0:  00000000 feefeffe feefeffe feefeffe  
[14:13:56]3ffffed0:  40227188 00000000 7fc00000 00000000  
[14:13:56]3ffffee0:  3fff1b14 3fff1b18 3fff1b18 00000000  
[14:13:56]3ffffef0:  3ffffef8 0000000d 78656c41 65646e61  
[14:13:56]3fffff00:  61334272 00000072 00000000 00000000  
[14:13:56]3fffff10:  00000000 00000000 00000000 00000000  
[14:13:56]3fffff20:  00000000 00000000 00000000 40227188  
[14:13:56]3fffff30:  00000000 7fc00000 00000000 3fff15f4  
[14:13:56]3fffff40:  3fff15f8 3fff15f8 40227150 00000000  
[14:13:56]3fffff50:  7fc00000 00000000 3fff1acc 3fff1aec  
[14:13:56]3fffff60:  3fff1aec 3fff1524 3fff1528 3fff1528  
[14:13:56]3fffff70:  a5a5a500 3fffff84 00000001 feefeffe  
[14:13:56]3fffff80:  feefeffe 3fff1ddc feefeffe feefeffe  
[14:13:56]3fffff90:  3fff1d24 00000000 3fff1bbc feefeffe  
[14:13:56]3fffffa0:  feefeffe feefeffe feefeffe 3ffefe28  
[14:13:56]3fffffb0:  3fffdad0 00000000 3ffefdfc 40222430  
[14:13:56]3fffffc0:  feefeffe feefeffe 3fffdab0 40100465  
[14:13:56]<<<stack<<<
[14:13:56]
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

[14:13:56] ets Jan  8 2013,rst cause:2, boot mode:(3,6)
[14:13:56]
[14:13:56]load 0x4010f000, len 3424, room 16 
[14:13:56]tail 0
[14:13:56]chksum 0x2e
[14:13:56]load 0x3fff20b8, len 40, room 8 
[14:13:56]tail 0
[14:13:56]chksum 0x2b
[14:13:56]csum 0x2b
[14:13:56]v0006a7a0
[14:13:56]~ld

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.