Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] Waiting for Content #994

Closed
4 tasks
d1nd141 opened this issue Oct 17, 2023 · 8 comments
Closed
4 tasks

[Help] Waiting for Content #994

d1nd141 opened this issue Oct 17, 2023 · 8 comments
Labels
configuration related to configuration question Further information is requested

Comments

@d1nd141
Copy link

d1nd141 commented Oct 17, 2023

PROBLEM DESCRIPTION

I'm seeing the waiting for content message on the Panel and I'm unable to find the configuration issue.

[] I've double checked each step explained in the FAQ:

https://docs.nspanel.pky.eu/faq/#waiting-for-content-this-is-taking-longer-than-usual-on-the-screen

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

  • Provide a screenshot of your tasmota mqtt configuration:

image

  • Provide your appdaemon.yaml:
---
secrets: /config/secrets.yaml
appdaemon:
  latitude: 49.545550
  longitude: 5.929091
  elevation: 200
  time_zone: Europe/Luxembourg
  plugins:
    HASS:
      type: hass
    MQTT:
      type: mqtt
      namespace: mqtt
      client_id: appdaemon
      client_host: 192.168.215.6
      client_port: 1883
      client_user: xxxx
      client_password: xxxx
      client_topics: NONE      
http:
  url: http://127.0.0.1:5050
admin:
api:
hadashboard:


  • Provide your apps.yaml:
---
nspanel1:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/tasmota_nspanel1/RESULT"
    panelSendTopic: "cmnd/tasmota_nspanel1/CustomSend"
    model: eu


  • Go to Settings>Add-ons>AppDaemon>Log and then, provide the output of the log after restarting the appdaemon container:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.13.6
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.0  (amd64 / qemux86-64)
 Home Assistant Core: 2023.10.3
 Home Assistant Supervisor: 2023.10.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in links: https://wheels.home-assistant.io/musllinux/
Collecting babel
  Downloading Babel-2.13.0-py3-none-any.whl (10.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 39.5 MB/s eta 0:00:00
Installing collected packages: babel
Successfully installed babel-2.13.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[21:13:48] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2023-10-17 21:13:50.321576 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2023-10-17 21:13:50.321680 INFO AppDaemon: Python version is 3.11.6
2023-10-17 21:13:50.321780 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2023-10-17 21:13:50.321868 INFO AppDaemon: Added log: AppDaemon
2023-10-17 21:13:50.321927 INFO AppDaemon: Added log: Error
2023-10-17 21:13:50.321974 INFO AppDaemon: Added log: Access
2023-10-17 21:13:50.322020 INFO AppDaemon: Added log: Diag
2023-10-17 21:13:50.420094 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2023-10-17 21:13:50.517841 INFO HASS: HASS Plugin Initializing
2023-10-17 21:13:50.517936 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2023-10-17 21:13:50.518025 INFO HASS: HASS Plugin initialization complete
2023-10-17 21:13:50.518162 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2023-10-17 21:13:50.555240 INFO MQTT: MQTT Plugin Initializing
2023-10-17 21:13:50.555416 INFO MQTT: Using 'appdaemon/status' as Will Topic
2023-10-17 21:13:50.555497 INFO MQTT: Using 'appdaemon/status' as Birth Topic
2023-10-17 21:13:50.555855 INFO AppDaemon: Initializing HTTP
2023-10-17 21:13:50.555983 INFO AppDaemon: Using 'ws' for event stream
2023-10-17 21:13:50.557772 INFO AppDaemon: Starting API
2023-10-17 21:13:50.558720 INFO AppDaemon: Starting Admin Interface
2023-10-17 21:13:50.558851 INFO AppDaemon: Starting Dashboards
2023-10-17 21:13:50.566090 INFO HASS: Connected to Home Assistant 2023.10.3
2023-10-17 21:13:50.569329 INFO MQTT: Connected to Broker at URL 192.168.215.6:1883
2023-10-17 21:13:50.575376 INFO AppDaemon: Got initial state from namespace mqtt
2023-10-17 21:13:50.575603 INFO MQTT: MQTT Plugin initialization complete
2023-10-17 21:13:50.576255 INFO AppDaemon: App 'nspanel1' added
2023-10-17 21:13:50.576646 INFO AppDaemon: Found 1 active apps
2023-10-17 21:13:50.576760 INFO AppDaemon: Found 0 inactive apps
2023-10-17 21:13:50.576857 INFO AppDaemon: Found 0 global libraries
2023-10-17 21:13:50.576975 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2023-10-17 21:13:50.577468 INFO AppDaemon: Running on port 5050
2023-10-17 21:13:50.595183 INFO HASS: Evaluating startup conditions
2023-10-17 21:13:50.600019 INFO HASS: Startup condition met: hass state=RUNNING
2023-10-17 21:13:50.600320 INFO HASS: All startup conditions met
2023-10-17 21:13:50.630359 INFO AppDaemon: Got initial state from namespace default
2023-10-17 21:13:52.580512 INFO AppDaemon: Scheduler running in realtime
2023-10-17 21:13:52.581921 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2023-10-17 21:13:52.582691 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring
2023-10-17 21:13:52.583176 INFO AppDaemon: App initialization complete


ADDITIONAL INFORMATION

Add information about your setup here, if any. (For example docker version of AppDaemon instead of the HomeAssistant Add-on)

HaOS11 (2023-10-3) in a Proxmox VM.

tele/tasmota_nspanel1/STATE reported:

{"Time":"2023-10-17T20:20:32","Uptime":"0T00:05:09","UptimeSec":309,"Heap":130,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":999,"MqttCount":1,"Berry":{"HeapUsed":16,"Objects":219},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"xxxx","BSSId":"64:D1:54:33:DF:77","Channel":1,"Mode":"11n","RSSI":100,"Signal":-50,"LinkCount":1,"Downtime":"0T00:00:04"}}

Did a tcpdump on my router (mikrotik) and i have only the mqtt and dhcp requests.
The mqtt are only the state and result payloads. nothing else.

@d1nd141 d1nd141 added configuration related to configuration question Further information is requested labels Oct 17, 2023
@joBr99
Copy link
Owner

joBr99 commented Oct 17, 2023

Hey, there is a minimum length of 5 chars for the mqtt password on tasmota. Does your mqtt password have more than 4 chars?

arendst/Tasmota#14599

@d1nd141
Copy link
Author

d1nd141 commented Oct 17, 2023

Yes, 8 chars.

@d1nd141
Copy link
Author

d1nd141 commented Oct 17, 2023

Btw, i can see tasmota and appdaemon payloads. So both are connecting fine

@joBr99
Copy link
Owner

joBr99 commented Oct 17, 2023

Please try to reinstall the lovelace app on the hacs appstore.

(I guess this folder is empty or missing, reinstalling should fix it)
image

@d1nd141
Copy link
Author

d1nd141 commented Oct 18, 2023

I confirm, folder was empty, after reinstall, the display works.
How does the Panel contact Ha ? Over Mqtt only? Or (also) over appdaemon port 5050 ?
Discovered using mdns ?
Ticket can be closed after.
Thanks!!

@joBr99
Copy link
Owner

joBr99 commented Oct 18, 2023

nextion display -> serial -> tasmota -> mqtt -> appdaemon -> homeassistant

the appdaemon webinterface on port 5050 isn't used by the project

@joBr99 joBr99 closed this as completed Oct 22, 2023
@LucaZiegler
Copy link

I had to copy (via samba addon) the nspanel-lovelace-ui folder from github to \192.168.188.119\addon_configs\a0d7b954_appdaemon\apps

@joBr99
Copy link
Owner

joBr99 commented Aug 30, 2024

Just configure the app_dir as it is also mentioned in the documentation and you don't have to copy stuff, as it's using it from the correct location.

#1029

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

No branches or pull requests

3 participants