Comments (17)
You just gave the logging of the init process ;-)
What happens is that if the module is not working or one of the Power and/or SPI pins are not connected the module won't initialise. The firmware detects this and logs the message you copied. There is one other pin that cannot be checked this way but that will result in a good init but remote signals won't be processed.
from ithowifi.
I believe I found it. There was a compiler directive not clean-up completely which resulted in an SPI pin not being set as output. This only manifests itself after a cold start.... so upgrade would go fine and the CC1101 module would work just fine but after a powercycle the CC1101 module is not detectable anymore. pfff, this was a nasty one.
Could you try this firmware file?
nrgitho-hw2-v2.2-rc2.bin.zip
from ithowifi.
Great catch!
I saw the changes but didn't link them to this issue.
from ithowifi.
This is the case since the upgrade to beta 10? Or are you not sure?
Otherwise maybe a good idea to revert back to the previous version just as a test. If that doesn't work the only thing that I can come up with is that somehow the CC1101 module failed or the connection to the module failed. In that case I will send you a replacement module.
from ithowifi.
I'm not sure if it's since version beta 10.
Let me revert back to an older version to rule out if it's just beta 10.
Is there a way to retrieve logging of the init process of the CC1101 module?
from ithowifi.
I mean a more detailed logging 😛
Ok, so if dust of my scope I could try to see if the it's a connection issue. I'll look for the data sheets of the CC1101 module to guide me.
Does the Attiny only handle the init of the Itho or also the init of the CC1101 module?
from ithowifi.
I can reproduce it, beta9 is working just fine.... somehow, don't know where but I implemented a bug.....
from ithowifi.
Let's look tomorrow 😊
from ithowifi.
A recompile of the same source seems to 'fix' the issue. I'm afraid I made a mistake somewhere and selected the wrong build environment for the final build of beta10, doh!
2.2-rc1 is the version you can try to see if this fixes your issue.
edit: btw 'tomorrow' has become today :P
from ithowifi.
edit: btw 'tomorrow' has become today :P
That happens every day ;)
from ithowifi.
Sorry to tell you..........
Setup: init of CC1101 RF module failed
logfile0.current.log
from ithowifi.
grmbl.... i'll investigate further. Could you please downgrade to beta9 and see if the init works again with that version. That at least rules out a hardware issue then.
from ithowifi.
Let's look at the code changes......beta 9 is OK
logfile0.current.log
from ithowifi.
This afternoon I looked at the delta between beta 9 and 10 and could find a lead.
How did you find it?
The new bin is OK
2163 N: System boot, last reset reason: POWERON_RESET
2182 N: HW rev: 2, FW ver.: 2.2-rc2
4240 N: WiFi: connection successful
4307 N: WiFi info:
4326 N: Mode:STA
4345 N: Status:3
4364 N: IP:192.168.41.149
4433 N: Setup: Virtual remote ID: 18,142,112
4471 N: Setup: Alternative SHT30 sensor found
4507 N: Setup: init of CC1101 RF module successful
5991 N: MQTT: connected, System config: 1
6069 N: Webserver: started
6089 N: mDNS: started
6109 N: Hostname: nrg-itho-8e70
6131 N: Setup: done
from ithowifi.
This afternoon I looked at the delta between beta 9 and 10 and could find a lead.
How did you find it?
I removed '#include "hardware.h"' with commit 92fdcb0 which is actually not really used anyway but forgot to remove
which results in 'pinMode(SS, OUTPUT);' not being compiled in.
Apparently only a cold boot resets the pin regs of the ESP32, so an upgrade from beta9 to beat10 would first just work fine.
That set me on the wrong foot a few times but after a lot of trying I could narrow it down to the mentioned commit.
The new bin is OK
great!
from ithowifi.
I saw the changes but didn't link them to this issue.
My neither but luckily time and effort solves all these kind of things :)
from ithowifi.
solved with 2a65bd6
from ithowifi.
Related Issues (20)
- Monitor only RF Devices not in remotesinfo HOT 5
- [Feature] Add OpenApi Spec / SwaggerUI to document api HOT 1
- Virtual remotes update remote broken HOT 2
- [Request] Ability to change through mqqt the default speed settings HOT 2
- Ventilation setpoint never goes below 30% HOT 2
- [Feature] Add fan/ventilation percentage to MQTT itho/ithostatus messages HOT 2
- Fan not keeping set speed HOT 14
- Request; turn off unit from HA HOT 2
- [Feature] autospeed relative to humidity
- HA: MQTT - TypeError: unsupported operand type(s) HOT 3
- [Request] Amber heat pump support HOT 6
- api.html?get=currentspeed not updating HOT 5
- [Request] AutoTemp fw 13 support HOT 7
- Minor typo in log message HOT 1
- Error on updating System Settings HOT 6
- Cannot switch off AP mode HOT 1
- long integer truncated in status JSON HOT 19
- [Feature Request] Support for WPU Version 41 HOT 32
- Virtual remote question HOT 2
- Rounding errors in statusvalues HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ithowifi.