MQTT Connection Showing as Offline


#21

Unfortunately, now 2 state widget display doesn’t work properly. On the web server, all 2 state widget always are ON, but on android apps have a good values.


#22

I saw the same behavior as described for my RPi mqtt which was working fine before. However now the client is connecting&disconnecting continuously, approx each second (see attached). Could this be related to this update? thanks,
mqtt


#23

@ruben_b Hmmm. that should not be happening. And everything was connecting just fine previously? I wonder if you can try generating new mqtt client id’s / password and use them to see if that will help…

~Benny


#24

Thanks for the follow up and letting us know that you go it sorted out!

~Benny


#25

2 state widget is still not behaving properly?..I’m hoping that after a little bit of time, the issue is fixed :thinking:


#26

@jfb820 How are things looking now? You are using mobile app to turn actuator and seeing if web dashboard properly recognizes state change?

~Benny


#27

Yes, still not behaving properly.
image
This is a chanel 13, on 2state widget is ON but on display widget is 0.


This is chanel 14 and 2 state widget is ON but when I saw detials & chart the value is 0.


#28

Yes, button actions on the iPhone app are being reflected on browser now. Also with sensor data keeping in sync on both.

Thanks for the follow up!


#29

I am now seeing button actions and sensor data changes from the iPhone app also being reflected on the browser. Thank you for following up!


#30

you are right, mistake from my side: I started the script again after your update but forgot to kill the previous. I assume connecting twice to one client is not possible so it disconnects.

FYI, it seems my actuator & state buttons are working correct in both web & android.


#31

Have you any idea why 2 state widget not work properly?


#32

I’m not sure why. Do you think you can share your code with me so I can test on my side and see if I can also reproduce this issue? You can PM me the code or just paste it in this thread.

~Benny


#33

having the same issue here. ping mqtt.mydevices.com hangs forever.
no firewall, good network connection in every other way.


#34

can you provide more details. which device you are using, the code and the serial monitor output.


#35

using a raspberry pi 3 and the setup dashboard installer via ssh from first-visit.

Summary

wget https://cayenne.mydevices.com/dl/rpi_y9i8sqbr2j.sh

–2018-12-10 13:39:05-- https://cayenne.mydevices.com/dl/rpi_y9i8sqbr2j.sh
Resolving cayenne.mydevices.com (cayenne.mydevices.com)… 52.4.59.26, 34.226.23.0
Connecting to cayenne.mydevices.com (cayenne.mydevices.com)|52.4.59.26|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1392 (1.4K) [text/x-sh]
Saving to: ‘rpi_y9i8sqbr2j.sh.1’

rpi_y9i8sqbr2j.sh.1 100%[===================================================>] 1.36K --.-KB/s in 0s

2018-12-10 13:39:06 (11.2 MB/s) - ‘rpi_y9i8sqbr2j.sh.1’ saved [1392/1392]

pi@openplotter:~ pi@openplotter:~ sudo bash rpi_y9i8sqbr2j.sh -v
rpi_y9i8sqbr2j.sh
dir exists
continuing as new install…
–2018-12-10 13:39:06-- https://updates.mydevices.com/raspberry/myDevices.tar.gz
Resolving updates.mydevices.com (updates.mydevices.com)… 54.148.225.117
Connecting to updates.mydevices.com (updates.mydevices.com)|54.148.225.117|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 100551 (98K) [application/x-gzip]
Saving to: ‘/home/pi/myDevices.tar.gz’

/home/pi/myDevices.tar.gz 100%[===================================================>] 98.19K 71.6KB/s in 1.4s

2018-12-10 13:39:08 (71.6 KB/s) - ‘/home/pi/myDevices.tar.gz’ saved [100551/100551]

./myDevices/
./myDevices/myDevices.service
./myDevices/live_network.ini
./myDevices/crontab.sh
./myDevices/tightvncsetup.sh
./myDevices/Cayenne-Agent/
./myDevices/Cayenne-Agent/setup.py
./myDevices/Cayenne-Agent/myDevices/
./myDevices/Cayenne-Agent/myDevices/schedule/
./myDevices/Cayenne-Agent/myDevices/schedule/init.py
./myDevices/Cayenne-Agent/myDevices/test/
./myDevices/Cayenne-Agent/myDevices/test/hardware_test.py
./myDevices/Cayenne-Agent/myDevices/test/sensors_test.py
./myDevices/Cayenne-Agent/myDevices/test/cayennemqtt_test.py
./myDevices/Cayenne-Agent/myDevices/test/systeminfo_test.py
./myDevices/Cayenne-Agent/myDevices/test/systemconfig_test.py
./myDevices/Cayenne-Agent/myDevices/test/updater_test.py
./myDevices/Cayenne-Agent/myDevices/test/gpio_test.py
./myDevices/Cayenne-Agent/myDevices/test/scheduler_test.py
./myDevices/Cayenne-Agent/myDevices/test/apiclient_test.py
./myDevices/Cayenne-Agent/myDevices/system/
./myDevices/Cayenne-Agent/myDevices/system/version.py
./myDevices/Cayenne-Agent/myDevices/system/systeminfo.py
./myDevices/Cayenne-Agent/myDevices/system/cpu.py
./myDevices/Cayenne-Agent/myDevices/system/systemconfig.py
./myDevices/Cayenne-Agent/myDevices/system/hardware.py
./myDevices/Cayenne-Agent/myDevices/system/services.py
./myDevices/Cayenne-Agent/myDevices/system/init.py
./myDevices/Cayenne-Agent/myDevices/system/ipgetter.py
./myDevices/Cayenne-Agent/myDevices/cloud/
./myDevices/Cayenne-Agent/myDevices/cloud/scheduler.py
./myDevices/Cayenne-Agent/myDevices/cloud/apiclient.py
./myDevices/Cayenne-Agent/myDevices/cloud/cayennemqtt.py
./myDevices/Cayenne-Agent/myDevices/cloud/updater.py
./myDevices/Cayenne-Agent/myDevices/cloud/remoteaccess.py
./myDevices/Cayenne-Agent/myDevices/cloud/doupdatecheck.py
./myDevices/Cayenne-Agent/myDevices/cloud/client.py
./myDevices/Cayenne-Agent/myDevices/cloud/init.py
./myDevices/Cayenne-Agent/myDevices/cloud/download_speed.py
./myDevices/Cayenne-Agent/myDevices/cloud/dbmanager.py
./myDevices/Cayenne-Agent/myDevices/sensors/
./myDevices/Cayenne-Agent/myDevices/sensors/sensors.py
./myDevices/Cayenne-Agent/myDevices/sensors/init.py
./myDevices/Cayenne-Agent/myDevices/main.py
./myDevices/Cayenne-Agent/myDevices/decorators/
./myDevices/Cayenne-Agent/myDevices/decorators/rest.py
./myDevices/Cayenne-Agent/myDevices/decorators/init.py
./myDevices/Cayenne-Agent/myDevices/devices/
./myDevices/Cayenne-Agent/myDevices/devices/onewire.py
./myDevices/Cayenne-Agent/myDevices/devices/digital/
./myDevices/Cayenne-Agent/myDevices/devices/digital/helper.py
./myDevices/Cayenne-Agent/myDevices/devices/digital/ds2408.py
./myDevices/Cayenne-Agent/myDevices/devices/digital/pcf8574.py
./myDevices/Cayenne-Agent/myDevices/devices/digital/mcp23XXX.py
./myDevices/Cayenne-Agent/myDevices/devices/digital/init.py
./myDevices/Cayenne-Agent/myDevices/devices/digital/gpio.py
./myDevices/Cayenne-Agent/myDevices/devices/sensor/
./myDevices/Cayenne-Agent/myDevices/devices/sensor/tslXXXX.py
./myDevices/Cayenne-Agent/myDevices/devices/sensor/bmp085.py
./myDevices/Cayenne-Agent/myDevices/devices/sensor/hytXXX.py
./myDevices/Cayenne-Agent/myDevices/devices/sensor/onewiretemp.py
./myDevices/Cayenne-Agent/myDevices/devices/sensor/vcnl4000.py
./myDevices/Cayenne-Agent/myDevices/devices/sensor/init.py
./myDevices/Cayenne-Agent/myDevices/devices/sensor/tmpXXX.py
./myDevices/Cayenne-Agent/myDevices/devices/readvalue.py
./myDevices/Cayenne-Agent/myDevices/devices/bus.py
./myDevices/Cayenne-Agent/myDevices/devices/spi.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/
./myDevices/Cayenne-Agent/myDevices/devices/analog/mcp48XX.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/pcf8591.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/helper.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/ads1x1x.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/mcp3x0x.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/mcp4725.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/pca9685.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/init.py
./myDevices/Cayenne-Agent/myDevices/devices/analog/mcp492X.py
./myDevices/Cayenne-Agent/myDevices/devices/instance.py
./myDevices/Cayenne-Agent/myDevices/devices/writevalue.py
./myDevices/Cayenne-Agent/myDevices/devices/shield/
./myDevices/Cayenne-Agent/myDevices/devices/shield/piface.py
./myDevices/Cayenne-Agent/myDevices/devices/shield/init.py
./myDevices/Cayenne-Agent/myDevices/devices/serial.py
./myDevices/Cayenne-Agent/myDevices/devices/i2c.py
./myDevices/Cayenne-Agent/myDevices/devices/init.py
./myDevices/Cayenne-Agent/myDevices/devices/manager.py
./myDevices/Cayenne-Agent/myDevices/utils/
./myDevices/Cayenne-Agent/myDevices/utils/daemon.py
./myDevices/Cayenne-Agent/myDevices/utils/history.py
./myDevices/Cayenne-Agent/myDevices/utils/singleton.py
./myDevices/Cayenne-Agent/myDevices/utils/types.py
./myDevices/Cayenne-Agent/myDevices/utils/subprocess.py
./myDevices/Cayenne-Agent/myDevices/utils/logger.py
./myDevices/Cayenne-Agent/myDevices/utils/config.py
./myDevices/Cayenne-Agent/myDevices/utils/init.py
./myDevices/Cayenne-Agent/myDevices/utils/threadpool.py
./myDevices/Cayenne-Agent/myDevices/init.py
./myDevices/Cayenne-Agent/myDevices/requests_futures/
./myDevices/Cayenne-Agent/myDevices/requests_futures/sessions.py
./myDevices/Cayenne-Agent/myDevices/requests_futures/init.py
./myDevices/Cayenne-Agent/README.rst
./myDevices/Cayenne-Agent/LICENSE
./myDevices/Cayenne-Agent/scripts/
./myDevices/Cayenne-Agent/scripts/config.sh
./myDevices/qa2_network.ini
./myDevices/uninstall.sh
./myDevices/myDevices.sh
./myDevices/dev_network.ini
./myDevices/cayenne-sudoers
./myDevices/setup.sh
./myDevices/qa1_network.ini
./myDevices/reboot_install.sh
./myDevices/stg_network.ini
./myDevices/myDevices.init.sh

  • set -x
  • exec
    (0%)
    Mon Dec 10 13:39:13 CET 2018 Installing myDevices agent
    Mon Dec 10 13:39:16 CET 2018 Uninstalling previous installation
    Mon Dec 10 13:39:21 CET 2018 Installing system libraries
    (16%)
    Mon Dec 10 13:39:21 CET 2018 Found package: python3
    (32%)
    Mon Dec 10 13:39:22 CET 2018 Found package: python3-dev
    (48%)
    Mon Dec 10 13:39:23 CET 2018 Found package: python3-setuptools
    Mon Dec 10 13:41:09 CET 2018 Found Python 3.6.5
    (50%)
    Mon Dec 10 13:41:09 CET 2018 Installing agent files
    Mon Dec 10 13:41:10 CET 2018 Installing systemd service
    (60%)
    Mon Dec 10 13:41:11 CET 2018 Installing software components
    Mon Dec 10 13:41:13 CET 2018 Trying to install myDevices for python3 version: Python 3.6.5
    running install
    running bdist_egg
    running egg_info
    creating myDevices.egg-info
    writing myDevices.egg-info/PKG-INFO
    writing dependency_links to myDevices.egg-info/dependency_links.txt
    writing requirements to myDevices.egg-info/requires.txt
    writing top-level names to myDevices.egg-info/top_level.txt
    writing manifest file ‘myDevices.egg-info/SOURCES.txt’
    reading manifest file ‘myDevices.egg-info/SOURCES.txt’
    writing manifest file ‘myDevices.egg-info/SOURCES.txt’
    installing library code to build/bdist.linux-armv7l/egg
    running install_lib
    running build_py
    creating build
    creating build/lib
    creating build/lib/myDevices
    copying myDevices/main.py -> build/lib/myDevices
    copying myDevices/init.py -> build/lib/myDevices
    creating build/lib/myDevices/cloud
    copying myDevices/cloud/download_speed.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/client.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/dbmanager.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/apiclient.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/doupdatecheck.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/scheduler.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/cayennemqtt.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/updater.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/init.py -> build/lib/myDevices/cloud
    copying myDevices/cloud/remoteaccess.py -> build/lib/myDevices/cloud
    creating build/lib/myDevices/utils
    copying myDevices/utils/threadpool.py -> build/lib/myDevices/utils
    copying myDevices/utils/config.py -> build/lib/myDevices/utils
    copying myDevices/utils/logger.py -> build/lib/myDevices/utils
    copying myDevices/utils/types.py -> build/lib/myDevices/utils
    copying myDevices/utils/history.py -> build/lib/myDevices/utils
    copying myDevices/utils/daemon.py -> build/lib/myDevices/utils
    copying myDevices/utils/singleton.py -> build/lib/myDevices/utils
    copying myDevices/utils/init.py -> build/lib/myDevices/utils
    copying myDevices/utils/subprocess.py -> build/lib/myDevices/utils
    creating build/lib/myDevices/system
    copying myDevices/system/version.py -> build/lib/myDevices/system
    copying myDevices/system/systeminfo.py -> build/lib/myDevices/system
    copying myDevices/system/systemconfig.py -> build/lib/myDevices/system
    copying myDevices/system/ipgetter.py -> build/lib/myDevices/system
    copying myDevices/system/init.py -> build/lib/myDevices/system
    copying myDevices/system/services.py -> build/lib/myDevices/system
    copying myDevices/system/hardware.py -> build/lib/myDevices/system
    copying myDevices/system/cpu.py -> build/lib/myDevices/system
    creating build/lib/myDevices/sensors
    copying myDevices/sensors/sensors.py -> build/lib/myDevices/sensors
    copying myDevices/sensors/init.py -> build/lib/myDevices/sensors
    creating build/lib/myDevices/schedule
    copying myDevices/schedule/init.py -> build/lib/myDevices/schedule
    creating build/lib/myDevices/requests_futures
    copying myDevices/requests_futures/sessions.py -> build/lib/myDevices/requests_futures
    copying myDevices/requests_futures/init.py -> build/lib/myDevices/requests_futures
    creating build/lib/myDevices/devices
    copying myDevices/devices/serial.py -> build/lib/myDevices/devices
    copying myDevices/devices/instance.py -> build/lib/myDevices/devices
    copying myDevices/devices/i2c.py -> build/lib/myDevices/devices
    copying myDevices/devices/writevalue.py -> build/lib/myDevices/devices
    copying myDevices/devices/readvalue.py -> build/lib/myDevices/devices
    copying myDevices/devices/bus.py -> build/lib/myDevices/devices
    copying myDevices/devices/spi.py -> build/lib/myDevices/devices
    copying myDevices/devices/manager.py -> build/lib/myDevices/devices
    copying myDevices/devices/init.py -> build/lib/myDevices/devices
    copying myDevices/devices/onewire.py -> build/lib/myDevices/devices
    creating build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/pcf8591.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/pca9685.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/mcp48XX.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/helper.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/mcp3x0x.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/mcp492X.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/mcp4725.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/ads1x1x.py -> build/lib/myDevices/devices/analog
    copying myDevices/devices/analog/init.py -> build/lib/myDevices/devices/analog
    creating build/lib/myDevices/devices/digital
    copying myDevices/devices/digital/ds2408.py -> build/lib/myDevices/devices/digital
    copying myDevices/devices/digital/helper.py -> build/lib/myDevices/devices/digital
    copying myDevices/devices/digital/pcf8574.py -> build/lib/myDevices/devices/digital
    copying myDevices/devices/digital/mcp23XXX.py -> build/lib/myDevices/devices/digital
    copying myDevices/devices/digital/init.py -> build/lib/myDevices/devices/digital
    copying myDevices/devices/digital/gpio.py -> build/lib/myDevices/devices/digital
    creating build/lib/myDevices/devices/sensor
    copying myDevices/devices/sensor/hytXXX.py -> build/lib/myDevices/devices/sensor
    copying myDevices/devices/sensor/tmpXXX.py -> build/lib/myDevices/devices/sensor
    copying myDevices/devices/sensor/onewiretemp.py -> build/lib/myDevices/devices/sensor
    copying myDevices/devices/sensor/bmp085.py -> build/lib/myDevices/devices/sensor
    copying myDevices/devices/sensor/tslXXXX.py -> build/lib/myDevices/devices/sensor
    copying myDevices/devices/sensor/vcnl4000.py -> build/lib/myDevices/devices/sensor
    copying myDevices/devices/sensor/init.py -> build/lib/myDevices/devices/sensor
    creating build/lib/myDevices/devices/shield
    copying myDevices/devices/shield/piface.py -> build/lib/myDevices/devices/shield
    copying myDevices/devices/shield/init.py -> build/lib/myDevices/devices/shield
    creating build/lib/myDevices/decorators
    copying myDevices/decorators/rest.py -> build/lib/myDevices/decorators
    copying myDevices/decorators/init.py -> build/lib/myDevices/decorators
    creating build/bdist.linux-armv7l
    creating build/bdist.linux-armv7l/egg
    creating build/bdist.linux-armv7l/egg/myDevices
    creating build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/threadpool.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/config.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/logger.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/types.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/history.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/daemon.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/singleton.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/init.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    copying build/lib/myDevices/utils/subprocess.py -> build/bdist.linux-armv7l/egg/myDevices/utils
    creating build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/version.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/systeminfo.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/systemconfig.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/ipgetter.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/init.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/services.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/hardware.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/system/cpu.py -> build/bdist.linux-armv7l/egg/myDevices/system
    copying build/lib/myDevices/main.py -> build/bdist.linux-armv7l/egg/myDevices
    creating build/bdist.linux-armv7l/egg/myDevices/sensors
    copying build/lib/myDevices/sensors/sensors.py -> build/bdist.linux-armv7l/egg/myDevices/sensors
    copying build/lib/myDevices/sensors/init.py -> build/bdist.linux-armv7l/egg/myDevices/sensors
    creating build/bdist.linux-armv7l/egg/myDevices/decorators
    copying build/lib/myDevices/decorators/rest.py -> build/bdist.linux-armv7l/egg/myDevices/decorators
    copying build/lib/myDevices/decorators/init.py -> build/bdist.linux-armv7l/egg/myDevices/decorators
    creating build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/download_speed.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/client.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/dbmanager.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/apiclient.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/doupdatecheck.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/scheduler.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/cayennemqtt.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/updater.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/init.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    copying build/lib/myDevices/cloud/remoteaccess.py -> build/bdist.linux-armv7l/egg/myDevices/cloud
    creating build/bdist.linux-armv7l/egg/myDevices/requests_futures
    copying build/lib/myDevices/requests_futures/sessions.py -> build/bdist.linux-armv7l/egg/myDevices/requests_futures
    copying build/lib/myDevices/requests_futures/init.py -> build/bdist.linux-armv7l/egg/myDevices/requests_futures
    creating build/bdist.linux-armv7l/egg/myDevices/schedule
    copying build/lib/myDevices/schedule/init.py -> build/bdist.linux-armv7l/egg/myDevices/schedule
    copying build/lib/myDevices/init.py -> build/bdist.linux-armv7l/egg/myDevices
    creating build/bdist.linux-armv7l/egg/myDevices/devices
    copying build/lib/myDevices/devices/serial.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    copying build/lib/myDevices/devices/instance.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    creating build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/pcf8591.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/pca9685.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/mcp48XX.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/helper.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/mcp3x0x.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/mcp492X.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/mcp4725.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/ads1x1x.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/analog/init.py -> build/bdist.linux-armv7l/egg/myDevices/devices/analog
    copying build/lib/myDevices/devices/i2c.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    creating build/bdist.linux-armv7l/egg/myDevices/devices/shield
    copying build/lib/myDevices/devices/shield/piface.py -> build/bdist.linux-armv7l/egg/myDevices/devices/shield
    copying build/lib/myDevices/devices/shield/init.py -> build/bdist.linux-armv7l/egg/myDevices/devices/shield
    creating build/bdist.linux-armv7l/egg/myDevices/devices/digital
    copying build/lib/myDevices/devices/digital/ds2408.py -> build/bdist.linux-armv7l/egg/myDevices/devices/digital
    copying build/lib/myDevices/devices/digital/helper.py -> build/bdist.linux-armv7l/egg/myDevices/devices/digital
    copying build/lib/myDevices/devices/digital/pcf8574.py -> build/bdist.linux-armv7l/egg/myDevices/devices/digital
    copying build/lib/myDevices/devices/digital/mcp23XXX.py -> build/bdist.linux-armv7l/egg/myDevices/devices/digital
    copying build/lib/myDevices/devices/digital/init.py -> build/bdist.linux-armv7l/egg/myDevices/devices/digital
    copying build/lib/myDevices/devices/digital/gpio.py -> build/bdist.linux-armv7l/egg/myDevices/devices/digital
    copying build/lib/myDevices/devices/writevalue.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    copying build/lib/myDevices/devices/readvalue.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    copying build/lib/myDevices/devices/bus.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    creating build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/sensor/hytXXX.py -> build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/sensor/tmpXXX.py -> build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/sensor/onewiretemp.py -> build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/sensor/bmp085.py -> build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/sensor/tslXXXX.py -> build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/sensor/vcnl4000.py -> build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/sensor/init.py -> build/bdist.linux-armv7l/egg/myDevices/devices/sensor
    copying build/lib/myDevices/devices/spi.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    copying build/lib/myDevices/devices/manager.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    copying build/lib/myDevices/devices/init.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    copying build/lib/myDevices/devices/onewire.py -> build/bdist.linux-armv7l/egg/myDevices/devices
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/threadpool.py to threadpool.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/config.py to config.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/logger.py to logger.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/types.py to types.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/history.py to history.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/daemon.py to daemon.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/singleton.py to singleton.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/utils/subprocess.py to subprocess.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/version.py to version.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/systeminfo.py to systeminfo.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/systemconfig.py to systemconfig.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/ipgetter.py to ipgetter.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/services.py to services.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/hardware.py to hardware.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/system/cpu.py to cpu.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/main.py to main.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/sensors/sensors.py to sensors.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/sensors/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/decorators/rest.py to rest.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/decorators/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/download_speed.py to download_speed.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/client.py to client.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/dbmanager.py to dbmanager.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/apiclient.py to apiclient.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/doupdatecheck.py to doupdatecheck.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/scheduler.py to scheduler.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/cayennemqtt.py to cayennemqtt.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/updater.py to updater.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/cloud/remoteaccess.py to remoteaccess.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/requests_futures/sessions.py to sessions.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/requests_futures/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/schedule/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/serial.py to serial.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/instance.py to instance.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/pcf8591.py to pcf8591.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/pca9685.py to pca9685.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/mcp48XX.py to mcp48XX.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/helper.py to helper.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/mcp3x0x.py to mcp3x0x.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/mcp492X.py to mcp492X.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/mcp4725.py to mcp4725.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/ads1x1x.py to ads1x1x.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/analog/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/i2c.py to i2c.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/shield/piface.py to piface.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/shield/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/digital/ds2408.py to ds2408.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/digital/helper.py to helper.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/digital/pcf8574.py to pcf8574.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/digital/mcp23XXX.py to mcp23XXX.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/digital/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/digital/gpio.py to gpio.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/writevalue.py to writevalue.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/readvalue.py to readvalue.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/bus.py to bus.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/sensor/hytXXX.py to hytXXX.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/sensor/tmpXXX.py to tmpXXX.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/sensor/onewiretemp.py to onewiretemp.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/sensor/bmp085.py to bmp085.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/sensor/tslXXXX.py to tslXXXX.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/sensor/vcnl4000.py to vcnl4000.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/sensor/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/spi.py to spi.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/manager.py to manager.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/init.py to init.cpython-36.pyc
    byte-compiling build/bdist.linux-armv7l/egg/myDevices/devices/onewire.py to onewire.cpython-36.pyc
    installing package data to build/bdist.linux-armv7l/egg
    running install_data
    copying scripts/config.sh -> /etc/myDevices/scripts
    creating build/bdist.linux-armv7l/egg/EGG-INFO
    copying myDevices.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
    copying myDevices.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
    copying myDevices.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
    copying myDevices.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
    copying myDevices.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
    creating dist
    creating ‘dist/myDevices-2.0.2-py3.6.egg’ and adding ‘build/bdist.linux-armv7l/egg’ to it
    removing ‘build/bdist.linux-armv7l/egg’ (and everything under it)
    Processing myDevices-2.0.2-py3.6.egg
    creating /usr/local/lib/python3.6/site-packages/myDevices-2.0.2-py3.6.egg
    Extracting myDevices-2.0.2-py3.6.egg to /usr/local/lib/python3.6/site-packages
    Adding myDevices 2.0.2 to easy-install.pth file

Installed /usr/local/lib/python3.6/site-packages/myDevices-2.0.2-py3.6.egg
Processing dependencies for myDevices==2.0.2
Searching for paho-mqtt==1.4.0
Best match: paho-mqtt 1.4.0
Processing paho_mqtt-1.4.0-py3.6.egg
paho-mqtt 1.4.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/paho_mqtt-1.4.0-py3.6.egg
Searching for requests==2.20.1
Best match: requests 2.20.1
Processing requests-2.20.1-py3.6.egg
requests 2.20.1 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/requests-2.20.1-py3.6.egg
Searching for psutil==5.4.8
Best match: psutil 5.4.8
Processing psutil-5.4.8-py3.6-linux-armv7l.egg
psutil 5.4.8 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/psutil-5.4.8-py3.6-linux-armv7l.egg
Searching for netifaces==0.10.7
Best match: netifaces 0.10.7
Processing netifaces-0.10.7-py3.6-linux-armv7l.egg
netifaces 0.10.7 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/netifaces-0.10.7-py3.6-linux-armv7l.egg
Searching for jsonpickle==1.0
Best match: jsonpickle 1.0
Processing jsonpickle-1.0-py3.6.egg
jsonpickle 1.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/jsonpickle-1.0-py3.6.egg
Searching for enum34==1.1.6
Best match: enum34 1.1.6
Processing enum34-1.1.6-py3.6.egg
enum34 1.1.6 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/enum34-1.1.6-py3.6.egg
Searching for urllib3==1.24.1
Best match: urllib3 1.24.1
Processing urllib3-1.24.1-py3.6.egg
urllib3 1.24.1 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/urllib3-1.24.1-py3.6.egg
Searching for idna==2.7
Best match: idna 2.7
Processing idna-2.7-py3.6.egg
idna 2.7 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/idna-2.7-py3.6.egg
Searching for chardet==3.0.4
Best match: chardet 3.0.4
Processing chardet-3.0.4-py3.6.egg
chardet 3.0.4 is already the active version in easy-install.pth
Installing chardetect script to /usr/local/bin

Using /usr/local/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg
Searching for certifi==2018.11.29
Best match: certifi 2018.11.29
Processing certifi-2018.11.29-py3.6.egg
certifi 2018.11.29 is already the active version in easy-install.pth

Using /usr/local/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg
Finished processing dependencies for myDevices==2.0.2
writing list of installed files to ‘/etc/myDevices/uninstall/installed_agent’
Mon Dec 10 13:41:48 CET 2018 myDevices installed for Python 3.6.5
(98%)
Mon Dec 10 13:41:48 CET 2018 Configuring os and agent
RealVNC detected
(100%)
Mon Dec 10 13:43:00 CET 2018 Install finished
(100%)
Mon Dec 10 13:43:20 CET 2018 Install cleanup finished
Your system will reboot!
Connection to openplotter.local closed by remote host.
Connection to openplotter.local closed.


#36

can you share the output of tail -f /var/log/myDevices/cayenne.log


#37

$ sudo tail -f /var/log/myDevices/cayenne.log

tail: cannot open ‘/var/log/myDevices/cayenne.log’ for reading: No such file or directory

tail: no files remaining


#38

can you try again adding a new device. it looks like the device was installed properly.


#39

sure, I’ll try again. I’ve done this several times now, perhaps 9 in total.
trying again now.

something I’ve noticed is that I’m running SignalK and they may be interrupting each other. will investigate that further as well. SK uses MQTT.


#40

ok, reinstalled and run “sudo tail -f /var/log/myDevices/cayenne.log”

output:
tail: cannot open ‘/var/log/myDevices/cayenne.log’ for reading: No such file or directory
tail: no files remaining