Closed pyto00 closed 1 year ago
@svde Tnx for your input! The code written by @vekexasia is not compatible anymore with the latest ESPRESSIF32 platform. I went to this overview of all the versions to see what version they where at now.
https://registry.platformio.org/platforms/platformio/espressif32/versions?version=3.3.0
I then randomly chose a version from 10 months ago. and edited the platformio.ini config like below.
[env:nodemcu-32s]`
platform = platformio/espressif32@3.3.0
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_port = COM20
monitor_port = COM20
lib_deps =
SPI
can_common=https://github.com/collin80/can_common.git
esp32_can=https://github.com/collin80/esp32_can.git
https://github.com/knolleary/pubsubclient.git
the ESP32 does not crash anymore and I was able to send a command.
Connecting to INET
.........
WiFi Connected. IP:
192.168.0.45
ESP_SMT init
ESPVMC init
Attempting MQTT connection...connected
Subscribing to: comfoair/commands/auto
Subscribing to: comfoair/commands/boost_10_min
Subscribing to: comfoair/commands/boost_20_min
Subscribing to: comfoair/commands/boost_30_min
Subscribing to: comfoair/commands/boost_60_min
Subscribing to: comfoair/commands/boost_end
Subscribing to: comfoair/commands/bypass_activate_1h
Subscribing to: comfoair/commands/bypass_auto
Subscribing to: comfoair/commands/bypass_deactivate_1h
Subscribing to: comfoair/commands/manual
Subscribing to: comfoair/commands/set_mode
Subscribing to: comfoair/commands/temp_profile_cool
Subscribing to: comfoair/commands/temp_profile_normal
Subscribing to: comfoair/commands/temp_profile_warm
Subscribing to: comfoair/commands/ventilation_extract_only
Subscribing to: comfoair/commands/ventilation_extract_only_reset
Subscribing to: comfoair/commands/ventilation_level
Subscribing to: comfoair/commands/ventilation_level_0
Subscribing to: comfoair/commands/ventilation_level_1
Subscribing to: comfoair/commands/ventilation_level_2
Subscribing to: comfoair/commands/ventilation_level_3
Subscribing to: comfoair/commands/ventilation_supply_only
Subscribing to: comfoair/commands/ventilation_supply_only_reset
-------new message from broker-----
channel:comfoair/commands/ventilation_level_3
data:
Received: ventilation_level_3
1F034051 00 84 15 01 01 00 00 00
1F034051 81 00 01 00 00 00 03
1F054051 00 84 15 01 01 00 00 00
1F054051 81 00 01 00 00 00 03
hey @pyto00 can you please open a merge request?
@svde Tnx for your input! The code written by @vekexasia is not compatible anymore with the latest ESPRESSIF32 platform. I went to this overview of all the versions to see what version they where at now.
https://registry.platformio.org/platforms/platformio/espressif32/versions?version=3.3.0
I then randomly chose a version from 10 months ago. and edited the platformio.ini config like below.
[env:nodemcu-32s]` platform = platformio/espressif32@3.3.0 board = esp32dev framework = arduino monitor_speed = 115200 upload_port = COM20 monitor_port = COM20 lib_deps = SPI can_common=https://github.com/collin80/can_common.git esp32_can=https://github.com/collin80/esp32_can.git https://github.com/knolleary/pubsubclient.git
the ESP32 does not crash anymore and I was able to send a command.
Connecting to INET ......... WiFi Connected. IP: 192.168.0.45 ESP_SMT init ESPVMC init Attempting MQTT connection...connected Subscribing to: comfoair/commands/auto Subscribing to: comfoair/commands/boost_10_min Subscribing to: comfoair/commands/boost_20_min Subscribing to: comfoair/commands/boost_30_min Subscribing to: comfoair/commands/boost_60_min Subscribing to: comfoair/commands/boost_end Subscribing to: comfoair/commands/bypass_activate_1h Subscribing to: comfoair/commands/bypass_auto Subscribing to: comfoair/commands/bypass_deactivate_1h Subscribing to: comfoair/commands/manual Subscribing to: comfoair/commands/set_mode Subscribing to: comfoair/commands/temp_profile_cool Subscribing to: comfoair/commands/temp_profile_normal Subscribing to: comfoair/commands/temp_profile_warm Subscribing to: comfoair/commands/ventilation_extract_only Subscribing to: comfoair/commands/ventilation_extract_only_reset Subscribing to: comfoair/commands/ventilation_level Subscribing to: comfoair/commands/ventilation_level_0 Subscribing to: comfoair/commands/ventilation_level_1 Subscribing to: comfoair/commands/ventilation_level_2 Subscribing to: comfoair/commands/ventilation_level_3 Subscribing to: comfoair/commands/ventilation_supply_only Subscribing to: comfoair/commands/ventilation_supply_only_reset -------new message from broker----- channel:comfoair/commands/ventilation_level_3 data: Received: ventilation_level_3 1F034051 00 84 15 01 01 00 00 00 1F034051 81 00 01 00 00 00 03 1F054051 00 84 15 01 01 00 00 00 1F054051 81 00 01 00 00 00 03
This helped me a lot - thank you. The script is now fully working.
Heyhey @piotrsn can you create a MR?
Hey, to be honest I am soo new to this that I don't know how to do it. If you can give me a guide or a link how to do so, then I will do. Thank you
pt., 17 cze 2022 o 10:55 Andrea @.***> napisał(a):
Heyhey @piotrsn https://github.com/piotrsn can you create a MR?
— Reply to this email directly, view it on GitHub https://github.com/vekexasia/comfoair-esp32/issues/19#issuecomment-1158654637, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQKQAEZXHJCMIOESAPAQSLVPQ4PRANCNFSM5VZPT2HA . You are receiving this because you were mentioned.Message ID: @.***>
If I want to use nodemcu 32S bord do I need to add: [env:nodemcu-32s] in platformio.ini?
hey @pyto00 can you please open a merge request?
Hi,
The merge request is still pending. Can you initiate the merge ?
sorry pyto didn't see the MR for some reason. I just merged.
On Sun, Jul 3, 2022 at 8:47 PM pyto00 @.***> wrote:
hey @pyto00 https://github.com/pyto00 can you please open a merge request?
Hi,
The merge request is still pending. Can you initiate the merge ?
— Reply to this email directly, view it on GitHub https://github.com/vekexasia/comfoair-esp32/issues/19#issuecomment-1173151988, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQ6S4FUNNP73BGGKJK7WLVSHN4JANCNFSM5VZPT2HA . You are receiving this because you were mentioned.Message ID: @.***>
--
Andrea Baccega [image: @. [image: @. [image: Personal site] http://www.andreabaccega.com/ [image: Linkedin Profile] http://it.linkedin.com/in/andreabaccega [image: Facebook] https://www.facebook.com/andrea.baccega [image: Google+] https://plus.google.com/109217393200753135791 [image: Twitter] http://twitter.com/veke87 [image: StackOverflow] http://stackoverflow.com/users/314407/andrea-baccega [image: GitHub] https://github.com/vekexasia
I am struggeling with this assert fail error. I found that this is a part of FreeRTOS which I have no knowledge about. It reboots a few times and then gets stuck.
From the monitor terminal
Does someone has any pointers for me ?