Code Monkey home page Code Monkey logo

Comments (8)

joba-1 avatar joba-1 commented on May 30, 2024 1

thanks, should be able to do that on my linux box. But has to wait a bit…

from tasmoticz.

joba-1 avatar joba-1 commented on May 30, 2024

it is definitely meant to work and did work at one point. Since I didn‘t change the code, it is probably a change on tasmota or domoticz side.
Which versions of tasmota and domoticz do you use?
I‘ll try and replicate the error to fix it.

from tasmoticz.

joba-1 avatar joba-1 commented on May 30, 2024

Just to clarify: The update on the domoticz web page should happen. Not on the tasmota web page.

from tasmoticz.

Pace17881 avatar Pace17881 commented on May 30, 2024

Tasmota Version: 11.0.0.4
Domoticz Version: 2022.1 (build 14271)
Eclipse mosquitto Version: 2.0.14

I use latest docker for domoticz and mosquitto:
version: "3" services: domoticz: image: domoticz/domoticz container_name: domoticz restart: unless-stopped # Pass devices to container # devices: # - "/dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0" ports: - "8080:8080" networks: - automation volumes: - /opt/docker/iot/domoticz/config:/opt/domoticz/userdata - /opt/docker/iot/domoticz/plugins:/opt/domoticz/plugins environment: - TZ=Europe/Amsterdam - LOG_PATH=/opt/domoticz/userdata/domoticz.log mosquitto: image: eclipse-mosquitto container_name: mosquitto restart: always networks: - automation volumes: - /opt/docker/iot/mqtt/config:/mosquitto/config - /opt/docker/iot/mqtt/data:/mosquitto/data - /opt/docker/iot/mqtt/logs:/mosquitto/log ports: - "1883:1883" - "9001:9001" networks: automation:

mqtt config:
persistence true persistence_location /mosquitto/data/ log_dest file /mosquitto/log/mosquitto.log listener 1883 0.0.0.0 allow_anonymous true

from tasmoticz.

joba-1 avatar joba-1 commented on May 30, 2024

tested with tasmota 6.6.0.3, 11.0.0, 11.0.0.3 and now .4.
I tested with domoticz page on ios and tasmota on android and the other way round to make sure swiping does not update the pages.
I always see instant updates on the domoticz page if I toggle on a tasmota page.
I don't doubt you see what you describe, so I guess it is my old 2020.2 domoticz that makes the difference.
Are you using a public or a self made docker image? Or even better: Do you have commands for me to start this version on my docker?

from tasmoticz.

joba-1 avatar joba-1 commented on May 30, 2024

I’ve just seen it when only using one ios device. If I toggle on tasmota and then swipe to domoticz I don’t see the update. On android this works fine - puzzled…

from tasmoticz.

Pace17881 avatar Pace17881 commented on May 30, 2024

I use the default docker images from Dockerhub for eclipse-mosquitto and domoticz
Please follow the steps to run the instances. This works only on linux systems. (Because of the paths)

  1. Check if docker-compose is installed,
  2. Create the file docker-compose.yml in a directory of your choice
  3. Paste the following into the file:

version: "3" services: domoticz: image: domoticz/domoticz container_name: domoticz restart: unless-stopped ports: - "8080:8080" networks: - automation volumes: - /opt/docker/iot/domoticz/config:/opt/domoticz/userdata - /opt/docker/iot/domoticz/plugins:/opt/domoticz/plugins environment: - TZ=Europe/Amsterdam - LOG_PATH=/opt/domoticz/userdata/domoticz.log mosquitto: image: eclipse-mosquitto container_name: mosquitto restart: always networks: - automation volumes: - /opt/docker/iot/mqtt/config:/mosquitto/config - /opt/docker/iot/mqtt/data:/mosquitto/data - /opt/docker/iot/mqtt/logs:/mosquitto/log ports: - "1883:1883" - "9001:9001" networks: automation:

  1. Check indentation and save the file
  2. create in the same directory the file mosquitto.conf
  3. Paste the following into the file and save it:

persistence true persistence_location /mosquitto/data/ log_dest file /mosquitto/log/mosquitto.log listener 1883 0.0.0.0 allow_anonymous true

  1. run docker-compose up -d
  2. Then clone your plugin repository to /opt/docker/iot/domoticz/config/plugins
  3. Maybe you have to restart the domoticz container...

from tasmoticz.

joba-1 avatar joba-1 commented on May 30, 2024

I’ve just seen it when only using one ios device. If I toggle on tasmota and then swipe to domoticz I don’t see the update. On android this works fine - puzzled…

it seems this problem on ios was due to temporary wlan connection problems (I run some dev openwrt image on my not yet officially supported routers, so that happens pretty frequently).
When connection is fine, I cannot reproduce the issue.

P.S.: no time for docker games yet

from tasmoticz.

Related Issues (20)

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.