Open hansgans007 opened 3 years ago
only 1 think on the mqtt motor_version it write
announce = awoke framework_version = Jan 11 2021-08:26:42 version = Jan 11 2021-08:26:42 motor_version = Not detected!
when i plug in the esp it drives up and then nothing more
Your terminal application does not support escape sequences. Line editing and history features are disabled. On Windows, try using Putty instead. ←[0;33mW (2748) fyrtur-esp32: Stack: 2188←[0m ←[0;31mE (2758) fyrtur-esp32: Temperature sensor not found!←[0m ←[0;32mI (2758) UART: Configuring motor unit UART..←[0m ←[0;32mI (2758) BLINDS: Running on core #1←[0m ←[0;32mI (2758) BLINDS_UART: Running on core #1←[0m ←[0;33mW (2758) BLINDS: blinds_task_read_status_reg - Stack: 2140←[0m ←[0;32mI (3768) BLINDS: Checking motor module...←[0m ←[0;33mW (3768) BLINDS: blinds_task_read_status_reg - Stack: 2028←[0m ←[0;31mE (8768) BLINDS: Fyrtur motor not connected!←[0m ←[0;32mI (8768) NODE-FRAMEWORK: [APP] Free memory: 254748 bytes←[0m ←[0;32mI (8768) NODE-FRAMEWORK: [APP] IDF version: v4.3-dev-1901-g178b122c1←[0m ←[0;32mI (8778) NODE-FRAMEWORK: Running on core #0←[0m ←[0;32mI (8778) NODE-FRAMEWORK: Using project/base name 'fyrtur-esp32'←[0m ←[0;32mI (8828) NODE-FRAMEWORK: NVS open OK←[0m Create led task.. ←[0;32mI (8838) wifi_manager: Set STA IP String to: 0.0.0.0←[0m ←[0;32mI (8838) LED: [LED] Running on core #1←[0m ←[0;32mI (8848) system_api: Base MAC address is not set←MQTT LED: stack: 1672←[0m ←[0;32mI (8848) system_api: read default base MAC address from EFUSE←[0m ←[0;32mI (8878) wifi_init: rx ba win: 6←[0m ←[0;32mI (8878) wifi_init: tcpip mbox: 32←[0m ←[0;32mI (8878) wifi_init: udp mbox: 6←[0m ←[0;32mI (8888) wifi_init: tcp mbox: 6←[0m ←[0;32mI (8898) wifi_init: tcp tx win: 5744←[0m ←[0;32mI (8898) wifi_init: tcp rx win: 5744←[0m ←[0;32mI (8898) wifi_init: tcp mss: 1440←[0m ←[0;32mI (8908) wifi_init: WiFi IRAM OP enabled←[0m ←[0;32mI (8908) wifi_init: WiFi RX IRAM OP enabled←[0m ←[0;32mI (8908) wifi_manager: AP SSID: fyrtur-esp32-7baf1c←[0m ←[0;32mI (9738) phy: phy_version: 4500, 0cd6843, Sep 17 2020, 15:37:07, 0, 0←MQTT wifi_manager: wifi_manager_event_handler Stack: 2700←[0m ←[0;32mI (9738) wifi_manager: WIFI_EVENT_STA_START←[0m ←[0;32mI (9738) http_server: Registering URI handlers←[0m ←[0;32mI (9758) wifi_manager: Set AP auto shutdown to enabled←MQTT wifi_manager: wifi_manager queue loop - free heap 191192, stack: 1180←[0m ←[0;32mI (9768) wifi_manager: MESSAGE: ORDER_LOAD_AND_RESTORE_STA←[0m ←[0;32mI (9768) wifi_manager: wifi_manager_fetch_wifi_sta_config: ssid:Altersheim E.V. password:syncm4st3r1sb3st←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: SoftAP_ssid:fyrtur-esp32-7baf1c←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: SoftAP_pwd:esp32pwd←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: SoftAP_channel:1←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: SoftAP_hidden (1 = yes):0←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: SoftAP_bandwidth (1 = 20MHz, 2 = 40MHz)1←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: sta_only (0 = APSTA, 1 = STA when connected):1←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: sta_power_save (1 = yes):0←MQTT wifi_manager: wifi_manager_fetch_wifi_settings: sta_static_ip (0 = dhcp client, 1 = static ip):0←[0m ←[0;32mI (9848) wifi_manager: Saved wifi found on startup. Will attempt to connect.←MQTT wifi_manager: wifi_manager queue loop - free heap 191108, stack: 1180←[0m ←[0;32mI (9858) wifi_manager: MESSAGE: ORDER_CONNECT_STA←[0m ←[0;32mI (9768) NODE-FRAMEWORK: Publishing as fyrtur-esp32-7baf1c←[0m ←[0;32mI (9878) mqtt_manager: MQTT manager start←MQTT mqtt_manager: mqtt_manager_do_fetch_config: URI:'mqtt://192.168.178.34:1883' username:'' password:'' auto-reconnect: 1←[0m ←[0;32mI (9888) mqtt_manager: mqtt_manager_fetch_config: URI:'mqtt://192.168.178.34:1883' username:'' password:'' auto-reconnect: 1←[0m ←[0;32mI (9898) mqtt_manager: MQTT config reloaded succesfully. Starting AP temporarily...←[0m ←[0;32mI (9908) wifi_manager: Set AP auto shutdown to enabled←MQTT wifi_manager: wifi_manager queue loop - free heap 190668, stack: 1180←[0m ←[0;32mI (9928) wifi_manager: MESSAGE: ORDER_START_AP←[0m ←[0;32mI (9918) mqtt_manager: Create MQTT manager task..←MQTT wifi_manager: wifi_manager_event_handler Stack: 1084←[0m ←[0;32mI (9938) wifi_manager: WIFI_EVENT_AP_START←MQTT LED: queue rcv stack: 1672←[0m ←[0;32mI (9938) mqtt_manager: [MQTT] Running on core #1←[0m ←[0;32mI (9948) LED: led 0 : 0 0 30 (1000 ms)←[0m ←[0;32mI (9938) fyrtur-esp32: Setting verbose motor MQTT diagnostics to 0←[0m esp32> ←[0;32mI (10028) http_server: Registering URI handlers←[0m ←[0;32mI (10028) dns_server: DNS server listening on address: 10.10.0.1←[0m ←[0;32mI (10028) dns_server: DNS Server listening on 53/udp←[0m D (11538) wifi_manager: wifi_manager_event_handler Stack: 1084←[0m ←[0;32mI (11538) wifi_manager: WIFI_EVENT_STA_CONNECTED←[0m ←[0;32mI (11538) mqtt_manager: WIFI_EVENT_STA_CONNECTED←[0m ←[0;33mW (11548) mqtt_manager: Heap: 173092←[0m D (11558) mqtt_manager: loop - stack: 1556←[0m ←[0;32mI (13338) esp_netif_handlers: sta ip: 192.168.178.205, mask: 255.255.255.0, gw: 192.168.178.1←[0m D (13338) wifi_manager: wifi_manager_event_handler Stack: 1004←[0m ←[0;32mI (13348) wifi_manager: IP_EVENT_STA_GOT_IP←[0m ←[0;32mI (13348) mqtt_manager: IP_EVENT_STA_GOT_IP←[0m D (13348) wifi_manager: wifi_manager queue loop - free heap 173044, stack: 1180←[0m ←[0;33mW (13348) mqtt_manager: Heap: 172984←[0m D (13358) mqtt_manager: loop - stack: 1556←[0m ←[0;32mI (13358) wifi_manager: WM_EVENT_STA_GOT_IP←[0m ←[0;33mW (13378) mqtt_manager: Heap: 172984←[0m ←[0;32mI (13378) mqtt_manager: Connecting to the MQTT server (mqtt://192.168.178.34:1883) (reconnect=1)..←[0m ←[0;32mI (13378) wifi_manager: Set STA IP String to: 192.168.178.205←[0m ←[0;32mI (13388) mqtt_manager: json {"uri":"mqtt://192.168.178.34:1883","urc":1, "error":""} ←[0m ←[0;32mI (13398) wifi_manager: Start AP shutdown timer...←[0m ←[0;33mW (13398) mqtt_manager: Heap: 171072←[0m ←[0;32mI (13408) mqtt_manager: Starting MQTT client ..←[0m D (13418) LED: queue rcv stack: 1672←[0m D (13418) mqtt_manager: loop - stack: 1508←[0m ←[0;32mI (13428) LED: led 0 : 30 0 30 (50 ms)←[0m D (13418) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=7←[0m D (13458) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=1←[0m ←[0;32mI (13458) mqtt_manager: MQTT_EVENT_CONNECTED←[0m ←[0;33mW (13458) mqtt_manager: Heap: 163724←[0m ←[0;32mI (13478) NODE-FRAMEWORK: MQTT_EVENT_CONNECTED←[0m ←[0;33mW (13478) mqtt_manager: Heap: 163912←[0m ←[0;33mW (13478) NODE-FRAMEWORK: [EVENT] Stack: 3352 heap: 163828←[0m ←[0;32mI (13488) mqtt_manager: Subscribe to /home/control/all/#←[0m ←[0;32mI (13488) mqtt_manager: MQTT server connected!←[0m ←[0;32mI (13498) mqtt_manager: json {"uri":"mqtt://192.168.178.34:1883","urc":2, "error":""} ←[0m ←[0;32mI (13498) mqtt_manager: Subscribe to /home/control/fyrtur-esp32/#←[0m ←[0;32mI (13518) mqtt_manager: Subscribe to /home/control/fyrtur-esp32-7baf1c/#←[0m ←[0;32mI (13518) NODE-FRAMEWORK: Publish: /home/node/fyrtur-esp32-7baf1c/announce : awoke←[0m ←[0;32mI (13528) NODE-FRAMEWORK: Publish: /home/node/fyrtur-esp32-7baf1c/framework_version : Jan 11 2021-08:26:42←[0m D (13538) mqtt_manager: mqtt_manager_do_fetch_config: URI:'mqtt://192.168.178.34:1883' username:'' password:'' auto-reconnect: 1←[0;32mI (13538) NODE-FRAMEWORK: Publish: /home/cover/fyrtur-esp32-7baf1c/config : { "name": "fyrtur-esp32-7baf1c", "uniq←[0m ue_id": "fyrtur-esp32-7baf1c", "device_class": "blind", "command_topic": "/home/control/fyrtur-esp32-7baf1c/command", "position_topic": "/home/cover/fyrtur-esp32-7baf1c/position", "set_position_topic": "/home/control/fyrtur-esp32-7baf1c/setD (13538) LED: queue rcv stack: 1672←[0m /target_position", "position_open": 1000 }←[0m ←[0;32mI (13568) mqtt_manager: MQTT config was not saved to flash because no change has been detected.←[0m ←[0;32mI (13588) NODE-FRAMEWORK: Publish: /home/node/fyrtur-esp32-7baf1c/version : Jan 11 2021-08:26:42←[0m ←[0;32mI (13588) LED: led 0 : 30 0 30 (2000 ms)←[0m ←[0;32mI (13598) wifi_manager: Set AP auto shutdown to enabled←[0m ←[0;32mI (13618) NODE-FRAMEWORK: Publish: /home/node/fyrtur-esp32-7baf1c/motor_version : Not detected!←[0m ←[0;32mI (13628) wifi_manager: Start AP shutdown timer...←[0m D (13638) mqtt_manager: loop - stack: 628←[0m ←[0;32mI (13638) mqtt_manager: Subscribe to /home/control/fyrtur-blinds/#←[0m D (13658) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=3←[0m ←[0;32mI (13658) mqtt_manager: MQTT_EVENT_SUBSCRIBED, msg_id=54508←[0m D (13678) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=3←[0m ←[0;32mI (13678) mqtt_manager: MQTT_EVENT_SUBSCRIBED, msg_id=16068←[0m D (13688) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=3←[0m ←[0;32mI (13688) mqtt_manager: MQTT_EVENT_SUBSCRIBED, msg_id=11200←[0m D (13708) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=3←[0m ←[0;32mI (13708) mqtt_manager: MQTT_EVENT_SUBSCRIBED, msg_id=3197←[0m
ANDLE MSG: control:command : open
←[0;31mE (113948) fyrtur-esp32: command: invalid cmd!←[0m D (113958) LED: queue rcv stack: 1672←[0m ←[0;32mI (113958) LED: led 0 : 30 0 30 (100 ms)←[0m D (120778) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=6←[0m ←[0;32mI (120778) NODE-FRAMEWORK: MQTT_EVENT_DATA←[0m TOPIC=/home/control/fyrtur-esp32-7baf1c/command DATA=OPEN
HANDLE MSG: control:command : OPEN
←[0;31mE (120788) fyrtur-esp32: command: invalid cmd!←[0m D (120808) LED: queue rcv stack: 1672←[0m ←[0;32mI (120808) LED: led 0 : 30 0 30 (100 ms)←[0m D (122148) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=6←[0m ←[0;32mI (122148) NODE-FRAMEWORK: MQTT_EVENT_DATA←[0m TOPIC=/home/control/fyrtur-esp32-7baf1c/command DATA=OPEN
HANDLE MSG: control:command : OPEN
←[0;31mE (122158) fyrtur-esp32: command: invalid cmd!←[0m D (122178) LED: queue rcv stack: 1672←[0m ←[0;32mI (122178) LED: led 0 : 30 0 30 (100 ms)←[0m
D (98568) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=6 I (98568) NODE-FRAMEWORK: MQTT_EVENT_DATA TOPIC=/home/control/fyrtur-esp32-7baf1c/command DATA=OPEN HANDLE MSG: control:command : OPEN D (98588) LED: queue rcv stack: 1672 I (98588) LED: led 0 : 30 0 30 (100 ms) W (98588) BLINDS: queue - Stack: 1688 I (98598) BLINDS: Move (direction Up, revs 0.00, force_small_steps-flag 0, override_limits: 0 I (98608) blinds_task_move: Move: Up - 0.00 revs, target -1.00, force_small_steps 0, force_mov 0 I (98618) blinds_task_move: Starting continuous movement E (98628) BLINDS: Already up! D (109848) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, event_id=6 I (109858) NODE-FRAMEWORK: MQTT_EVENT_DATA TOPIC=/home/control/fyrtur-esp32-7baf1c/command DATA=CLOSE HANDLE MSG: control:command : CLOSE D (109868) LED: queue rcv stack: 1672 I (109868) LED: led 0 : 30 0 30 (100 ms) W (109868) BLINDS: queue - Stack: 1528 I (109878) BLINDS: Move (direction Down, revs 0.00, force_small_steps-flag 0, override_limits: 0 I (109888) blinds_task_move: Move: Down - 0.00 revs, target -1.00, force_small_steps 0, force_mov 0 I (109908) blinds_task_move: Starting continuous movement I (109908) NODE-FRAMEWORK: Publish: /home/cover/fyrtur-esp32-7baf1c/status : Moving I (109918) NODE-FRAMEWORK: Publish: /home/cover/fyrtur-esp32-7baf1c/direction : Down I (109918) NODE-FRAMEWORK: Publish: /home/cover/fyrtur-esp32-7baf1c/target_position : 0 W (109938) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (110458) BLINDS: blinds_task_read_status_reg - Stack: 1400
W (199218) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (199738) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (200258) BLINDS: blinds_task_read_status_reg - Stack: 1400 D (200288) mqtt_manager: Event dispatched from event loop base=MQTT_EVENTS, even t_id=6 I (200288) NODE-FRAMEWORK: MQTT_EVENT_DATA TOPIC=/home/control/fyrtur-esp32-7baf1c/command DATA=STOP HANDLE MSG: control:command : STOP D (200308) LED: queue rcv stack: 1672 I (200308) LED: led 0 : 30 0 30 (100 ms) W (200308) BLINDS: queue - Stack: 1400 I (200318) BLINDS: Stop W (200778) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (201298) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (201818) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (202338) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (202858) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (203378) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (203898) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (204418) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (204938) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (205458) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (205978) BLINDS: blinds_task_read_status_reg - Stack: 1400 W (206498) BLINDS: blinds_task_read_status_reg - Stack: 1400
the motor not doing anything
W (48748) BLINDS: queue - Stack: 2216 E (48758) BLINDS: Setting minimum voltage not supported on original firmware!
okay connection between motor and esp its ok
RX PIN 5 TX PIN 23 LED PIN 18 BUTTON UP PIN 21 BUTTON DOWN 22
now it works the motor tries to move but it end in error
i use the 5V USB from charger
with the batterie it works
5V its too low
where can i find the connection between esp and ikea pcb ?
Same question here. Did I miss something?
RX PIN 5 TX PIN 23 LED PIN 18 BUTTON UP PIN 21 BUTTON DOWN 22
Thanks, I thought you mean the connection between custom PCB and motor in your previous post. Now its clear :)
anybody has a schem of these pin, i'm a little bit confused of where to weld them thanks :)
where can i find the connection between esp and ikea pcb ?