Closed RMHogervorst closed 4 years ago
I reinstalled the candle addon and I will add some logs here:
2019-12-27 16:07:58.257 INFO : Killing Candle-manager-addon plugin.
2019-12-27 16:08:09.442 INFO : Fetching add-on https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/Candle-manager-addon-1.0.4.tgz as /tmp/b1L1pz/Candle-manager-addon.tar.gz
2019-12-27 16:08:22.732 INFO : Expanding add-on /tmp/b1L1pz/Candle-manager-addon.tar.gz
2019-12-27 16:08:47.075 INFO : Loading add-on: Candle-manager-addon
2019-12-27 16:08:53.880 INFO : Candle-manager-addon: CandleManagerAPIHandler imported.
2019-12-27 16:08:53.885 INFO : Candle-manager-addon: initialising adapter from class
2019-12-27 16:08:54.243 INFO : Candle-manager-addon: paths:['/home/pi/.mozilla-iot/config', '/home/pi/.mozilla-iot/config']
2019-12-27 16:08:54.246 INFO : Candle-manager-addon: self.add_on_path = /home/pi/.mozilla-iot/addons/Candle-manager-addon
2019-12-27 16:08:54.248 INFO : Candle-manager-addon: self.arduino_cli_path = /home/pi/.mozilla-iot/addons/Candle-manager-addon/linux
2019-12-27 16:08:54.250 INFO : Candle-manager-addon: Gateway version: 0.10.0
2019-12-27 16:08:54.252 INFO : Candle-manager-addon: -Sketch URL found in settings
2019-12-27 16:08:54.254 INFO : Candle-manager-addon: -Password found in settings
2019-12-27 16:08:54.257 INFO : Candle-manager-addon: -Arduino type found in settings
2019-12-27 16:08:54.259 INFO : Candle-manager-addon: Scanning source file directory
2019-12-27 16:08:54.261 INFO : Candle-manager-addon: Scanning /home/pi/.mozilla-iot/addons/Candle-manager-addon/source
2019-12-27 16:08:54.263 INFO : Candle-manager-addon: received sketches_url = https://raw.githubusercontent.com/createcandle/candle_source_code_list/master/candle_source_code_list.json
2019-12-27 16:08:54.412 INFO : Candle-manager-addon: ['https://raw.githubusercontent.com/createcandle/Devices/master/Alarm_clock/Alarm_clock.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Anemone/Anemone.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Candle_cleaner/Candle_cleaner.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Candle_receiver/Candle_receiver.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Energy_use_meter/Energy_use_meter.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Temperature_and_more/Temperature_and_more.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Plant_health/Plant_health.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Signal-hub/Signal-hub.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Candle_maker_tool/Candle_maker_tool.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Dust_sensor/Dust_sensor.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Carbon_sensor/Carbon_sensor.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Smart_lock/Smart_lock.ino']
2019-12-27 16:08:54.415 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Alarm_clock/Alarm_clock.ino
2019-12-27 16:08:54.418 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Alarm_clock/Alarm_clock.ino
2019-12-27 16:08:54.858 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Anemone/Anemone.ino
2019-12-27 16:08:54.862 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Anemone/Anemone.ino
2019-12-27 16:08:55.240 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Candle_cleaner/Candle_cleaner.ino
2019-12-27 16:08:55.245 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Candle_cleaner/Candle_cleaner.ino
2019-12-27 16:08:55.594 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Candle_receiver/Candle_receiver.ino
2019-12-27 16:08:55.598 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Candle_receiver/Candle_receiver.ino
2019-12-27 16:08:55.937 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Energy_use_meter/Energy_use_meter.ino
2019-12-27 16:08:55.942 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Energy_use_meter/Energy_use_meter.ino
2019-12-27 16:08:56.286 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Temperature_and_more/Temperature_and_more.ino
2019-12-27 16:08:56.290 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Temperature_and_more/Temperature_and_more.ino
2019-12-27 16:08:56.637 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Plant_health/Plant_health.ino
2019-12-27 16:08:56.641 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Plant_health/Plant_health.ino
2019-12-27 16:08:56.984 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Signal-hub/Signal-hub.ino
2019-12-27 16:08:56.988 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Signal-hub/Signal-hub.ino
2019-12-27 16:08:57.352 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Candle_maker_tool/Candle_maker_tool.ino
2019-12-27 16:08:57.356 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Candle_maker_tool/Candle_maker_tool.ino
2019-12-27 16:08:57.696 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Dust_sensor/Dust_sensor.ino
2019-12-27 16:08:57.701 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Dust_sensor/Dust_sensor.ino
2019-12-27 16:08:58.048 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Carbon_sensor/Carbon_sensor.ino
2019-12-27 16:08:58.053 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Carbon_sensor/Carbon_sensor.ino
2019-12-27 16:08:58.397 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Smart_lock/Smart_lock.ino
2019-12-27 16:08:58.401 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Smart_lock/Smart_lock.ino
2019-12-27 16:08:58.870 INFO : Candle-manager-addon: ARDUINO UPDATE COMMAND = /home/pi/.mozilla-iot/addons/Candle-manager-addon/linux/arduino-cli core update-index
2019-12-27 16:09:06.607 INFO : Candle-manager-addon:
2019-12-27 16:09:06.610 INFO : Candle-manager-addon: 0 / 284483 0.00%
2019-12-27 16:09:06.613 INFO : Candle-manager-addon: Updating index: package_index.json downloaded
2019-12-27 16:09:06.617 INFO : Candle-manager-addon:
2019-12-27 16:09:06.619 INFO : Candle-manager-addon: 0 / 284483 0.00%
2019-12-27 16:09:06.623 INFO : Candle-manager-addon: Updating index: package_index.json downloaded
2019-12-27 16:09:06.625 INFO : Candle-manager-addon:
2019-12-27 16:09:06.628 INFO : Candle-manager-addon: Command success
2019-12-27 16:09:06.631 INFO : Candle-manager-addon: CLI update index success
2019-12-27 16:09:12.265 INFO : Candle-manager-addon: Platform arduino:avr@1.8.2 already installed
2019-12-27 16:09:12.268 INFO : Candle-manager-addon:
2019-12-27 16:09:12.272 INFO : Candle-manager-addon: Command success
2019-12-27 16:09:12.275 INFO : Candle-manager-addon: CLI update AVR success
2019-12-27 16:09:12.277 INFO : Candle-manager-addon: Succesfully updated Arduino CLI index and AVR
2019-12-27 16:09:12.280 INFO : Candle-manager-addon: Looking for already installed libraries
2019-12-27 16:09:15.103 INFO : Candle-manager-addon: Found library: HID
2019-12-27 16:09:15.106 INFO : Candle-manager-addon: Found library: SPI
2019-12-27 16:09:15.109 INFO : Candle-manager-addon: Found library: SoftwareSerial
2019-12-27 16:09:15.112 INFO : Candle-manager-addon: Found library: Wire
2019-12-27 16:09:15.115 INFO : Candle-manager-addon: Found library: Grove_-_Barometer_Sensor_BME280
2019-12-27 16:09:15.118 INFO : Candle-manager-addon: Found library: MySensors
2019-12-27 16:09:15.121 INFO : Candle-manager-addon: Found library: SSD1306Ascii
2019-12-27 16:09:15.124 INFO : Candle-manager-addon: Found library: EEPROM
2019-12-27 16:09:15.126 INFO : Candle-manager-addon: Checking for missing libraries, and installing if required.
2019-12-27 16:09:15.130 INFO : Candle-manager-addon: DOWNLOADING: Grove - Barometer Sensor BME280
2019-12-27 16:09:18.928 INFO : Opened a new things socket
2019-12-27 16:09:18.946 INFO : About to call startPairing on CandleAdapter
2019-12-27 16:09:19.006 INFO : Candle-manager-addon: Adapter: CandleAdapter id Candle-manager-addon pairing started
2019-12-27 16:09:20.730 INFO : Candle-manager-addon: Downloading Grove - Barometer Sensor BME280@1.0.2...
2019-12-27 16:09:20.733 INFO : Candle-manager-addon: Grove - Barometer Sensor BME280@1.0.2 already downloaded
2019-12-27 16:09:20.736 INFO : Candle-manager-addon: Installing Grove - Barometer Sensor BME280@1.0.2...
2019-12-27 16:09:20.738 INFO : Candle-manager-addon: Alredy installed Grove - Barometer Sensor BME280@1.0.2
2019-12-27 16:09:20.740 INFO : Candle-manager-addon:
2019-12-27 16:09:20.743 INFO : Candle-manager-addon: Command success
2019-12-27 16:09:20.746 INFO : Candle-manager-addon: cleaner_hex_path = /home/pi/.mozilla-iot/addons/Candle-manager-addon/code/Candle_cleaner/Candle_cleaner.arduino.avr.nano.hex
2019-12-27 16:09:20.749 INFO : Candle-manager-addon: Candle Cleaner was found at index 0
2019-12-27 16:09:20.752 INFO : Candle-manager-addon: Compiling
2019-12-27 16:09:40.380 INFO : Candle-manager-addon: Using board 'nano' from platform in folder: /home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2
2019-12-27 16:09:40.383 INFO : Candle-manager-addon: Using core 'arduino' from platform in folder: /home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2
2019-12-27 16:09:40.387 INFO : Candle-manager-addon: Detecting libraries used...
2019-12-27 16:09:40.389 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/cores/arduino -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/variants/eightanaloginputs /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/sketch/Candle_cleaner.ino.cpp -o /dev/null
2019-12-27 16:09:40.392 INFO : Candle-manager-addon: Alternatives for EEPROM.h: [EEPROM@2.0]
2019-12-27 16:09:40.395 INFO : Candle-manager-addon: ResolveLibrary(EEPROM.h)
2019-12-27 16:09:40.397 INFO : Candle-manager-addon: -> candidates: [EEPROM@2.0]
2019-12-27 16:09:40.400 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/cores/arduino -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/variants/eightanaloginputs -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM/src /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/sketch/Candle_cleaner.ino.cpp -o /dev/null
2019-12-27 16:09:40.403 INFO : Candle-manager-addon: Generating function prototypes...
2019-12-27 16:09:40.405 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/cores/arduino -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/variants/eightanaloginputs -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM/src /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/sketch/Candle_cleaner.ino.cpp -o /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/preproc/ctags_target_for_gcc_minus_e.cpp
2019-12-27 16:09:40.408 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/preproc/ctags_target_for_gcc_minus_e.cpp
2019-12-27 16:09:40.410 INFO : Candle-manager-addon: Compiling sketch...
2019-12-27 16:09:40.413 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/cores/arduino -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/variants/eightanaloginputs -I/home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM/src /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/sketch/Candle_cleaner.ino.cpp -o /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/sketch/Candle_cleaner.ino.cpp.o
2019-12-27 16:09:40.416 INFO : Candle-manager-addon: Compiling libraries...
2019-12-27 16:09:40.419 INFO : Candle-manager-addon: Compiling library "EEPROM"
2019-12-27 16:09:40.422 INFO : Candle-manager-addon: Compiling core...
2019-12-27 16:09:40.425 INFO : Candle-manager-addon: Using precompiled core: /tmp/arduino-core-cache/core_arduino_avr_nano_95ba4990ceb3327cb5daa53f9b2f5d3f.a
2019-12-27 16:09:40.427 INFO : Candle-manager-addon: Linking everything together...
2019-12-27 16:09:40.430 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-gcc -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/Candle_cleaner.ino.elf /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/sketch/Candle_cleaner.ino.cpp.o /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/../arduino-core-cache/core_arduino_avr_nano_95ba4990ceb3327cb5daa53f9b2f5d3f.a -L/tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE -lm
2019-12-27 16:09:40.433 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/Candle_cleaner.ino.elf /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/Candle_cleaner.ino.eep
2019-12-27 16:09:40.436 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/Candle_cleaner.ino.elf /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/Candle_cleaner.ino.hex
2019-12-27 16:09:40.438 INFO : Candle-manager-addon: Multiple libraries were found for "EEPROM.h"
2019-12-27 16:09:40.451 INFO : Candle-manager-addon: Used: /home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM
2019-12-27 16:09:40.454 INFO : Candle-manager-addon: Using library EEPROM at version 2.0 in folder: /home/pi/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM
2019-12-27 16:09:40.456 INFO : Candle-manager-addon: /home/pi/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-size -A /tmp/arduino-sketch-B24825045C404EC8C9F8441E907242AE/Candle_cleaner.ino.elf
2019-12-27 16:09:40.459 INFO : Candle-manager-addon: Sketch uses 2250 bytes (7%) of program storage space. Maximum is 30720 bytes.
2019-12-27 16:09:40.462 INFO : Candle-manager-addon: Global variables use 252 bytes (12%) of dynamic memory, leaving 1796 bytes for local variables. Maximum is 2048 bytes.
2019-12-27 16:09:40.464 INFO : Candle-manager-addon:
2019-12-27 16:09:40.467 INFO : Candle-manager-addon: Command success
2019-12-27 16:09:40.469 INFO : Candle-manager-addon: Pre-compile result:{'success': True, 'message': 'Compiled succesfully.', 'errors': []}
2019-12-27 16:09:40.472 INFO : Candle-manager-addon: Succesfully pre-compiled the cleaner code
2019-12-27 16:09:40.475 INFO : Candle-manager-addon: Making initial scan of USB ports
2019-12-27 16:09:40.479 INFO : Candle-manager-addon: Initial scan of USB ports complete
2019-12-27 16:09:40.482 INFO : Candle-manager-addon: Created new API HANDLER: Candle-manager-addon
2019-12-27 16:09:40.485 INFO : Candle-manager-addon: Extension API handler initiated
2019-12-27 16:09:40.487 INFO : Candle-manager-addon: Preparing a Flask webserver called pkg.candle_adapter
2019-12-27 16:09:40.540 INFO : Candle-manager-addon: * Serving Flask app "pkg.candle_adapter" (lazy loading)
2019-12-27 16:09:40.543 INFO : Candle-manager-addon: * Environment: production
2019-12-27 16:09:40.546 INFO : Candle-manager-addon: WARNING: This is a development server. Do not use it in a production deployment.
2019-12-27 16:09:40.548 INFO : Candle-manager-addon: Use a production WSGI server instead.
2019-12-27 16:09:40.550 INFO : Candle-manager-addon: * Debug mode: off
2019-12-27 16:09:40.553 ERROR : Candle-manager-addon: * Running on http://0.0.0.0:8686/ (Press CTRL+C to quit)
2019-12-27 16:10:18.950 INFO : Pairing timeout
2019-12-27 16:10:18.957 ERROR : Thing was not added
2019-12-27 16:10:18.959 ERROR : addNewThing cancelled
2019-12-27 16:10:18.991 INFO : Candle-manager-addon: Adapter: CandleAdapter id Candle-manager-addon pairing cancelled
I'm following the steps here https://www.candlesmarthome.com/controller
And I'm on step 4:
4. Add your first thing
On the things overview page click on the (+) icon in the bottom right corner. This will show you newly available things.
Click 'save' on the 'Candle Manager' thing.
There is never a candle manager thing.
retried installation on a raspberry pi 3. I have the same issues. It never shows 'Candle Manager'
as a thing
things like this:
2019-12-27 16:38:48.502 INFO : About to call startPairing on CandleAdapter
2019-12-27 16:38:48.504 INFO : About to call startPairing on ThingURLAdapter
2019-12-27 16:38:48.513 INFO : Opened a new things socket
2019-12-27 16:38:48.534 INFO : Candle-manager-addon: Adapter: CandleAdapter id Candle-manager-addon pairing started
make me think that the process seems to work, but it never shows up in my browser.
I've tried without add blockers and on a different browser with no result so I think it is something in the firmware
looking at the logs in my browsers, I see an insecure request that is blocked by default
Mixed Content: The page at 'https://MYSUBDOMAIN.mozilla-iot.org/things' was loaded over HTTPS, but requested an insecure resource 'http://MYSYBDOMAIN.mozilla-iot.org:8686/'. This content should also be served over HTTPS.```
Same problem here. Stuck at step number 4.
In case it helps, this is the log when trying to access Candle Manager using the left menu.
2019-12-27 19:22:56.568 ERROR : Candle-manager-addon: 192.168.1.41 - - [27/Dec/2019 19:22:56] "GET / HTTP/1.1" 200 -
2019-12-27 19:22:56.804 INFO : Candle-manager-addon: Running init for new Candle Manager tab
2019-12-27 19:22:56.819 INFO : Candle-manager-addon: 1. Finished USB scan
2019-12-27 19:22:58.454 INFO : Candle-manager-addon: Found library: Wire
2019-12-27 19:22:58.456 INFO : Candle-manager-addon: Found library: Grove_-_Barometer_Sensor_BME280
2019-12-27 19:22:58.458 INFO : Candle-manager-addon: Found library: MySensors
2019-12-27 19:22:58.460 INFO : Candle-manager-addon: Found library: SSD1306Ascii
2019-12-27 19:22:58.461 INFO : Candle-manager-addon: Found library: EEPROM
2019-12-27 19:22:58.462 INFO : Candle-manager-addon: Found library: HID
2019-12-27 19:22:58.464 INFO : Candle-manager-addon: Found library: SPI
2019-12-27 19:22:58.466 INFO : Candle-manager-addon: Found library: SoftwareSerial
2019-12-27 19:22:58.467 INFO : Candle-manager-addon: 2. Updated list of already install Arduino libraries
2019-12-27 19:22:58.469 INFO : Candle-manager-addon: Will check for updates.
2019-12-27 19:22:58.470 INFO : Candle-manager-addon: received sketches_url = https://raw.githubusercontent.com/createcandle/candle_source_code_list/master/candle_source_code_list.json
2019-12-27 19:23:04.073 INFO : Candle-manager-addon: ['https://raw.githubusercontent.com/createcandle/Devices/master/Alarm_clock/Alarm_clock.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Anemone/Anemone.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Candle_cleaner/Candle_cleaner.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Candle_receiver/Candle_receiver.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Energy_use_meter/Energy_use_meter.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Temperature_and_more/Temperature_and_more.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Plant_health/Plant_health.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Signal-hub/Signal-hub.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Candle_maker_tool/Candle_maker_tool.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Dust_sensor/Dust_sensor.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Carbon_sensor/Carbon_sensor.ino', 'https://raw.githubusercontent.com/createcandle/Devices/master/Smart_lock/Smart_lock.ino']
2019-12-27 19:23:04.075 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Alarm_clock/Alarm_clock.ino
2019-12-27 19:23:04.077 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Alarm_clock/Alarm_clock.ino
2019-12-27 19:23:04.753 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Anemone/Anemone.ino
2019-12-27 19:23:04.756 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Anemone/Anemone.ino
2019-12-27 19:23:05.583 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Candle_cleaner/Candle_cleaner.ino
2019-12-27 19:23:05.585 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Candle_cleaner/Candle_cleaner.ino
2019-12-27 19:23:06.403 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Candle_receiver/Candle_receiver.ino
2019-12-27 19:23:06.405 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Candle_receiver/Candle_receiver.ino
2019-12-27 19:23:07.034 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Energy_use_meter/Energy_use_meter.ino
2019-12-27 19:23:07.037 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Energy_use_meter/Energy_use_meter.ino
2019-12-27 19:23:07.653 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Temperature_and_more/Temperature_and_more.ino
2019-12-27 19:23:07.655 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Temperature_and_more/Temperature_and_more.ino
2019-12-27 19:23:08.352 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Plant_health/Plant_health.ino
2019-12-27 19:23:08.354 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Plant_health/Plant_health.ino
2019-12-27 19:23:08.982 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Signal-hub/Signal-hub.ino
2019-12-27 19:23:08.985 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Signal-hub/Signal-hub.ino
2019-12-27 19:23:09.758 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Candle_maker_tool/Candle_maker_tool.ino
2019-12-27 19:23:09.760 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Candle_maker_tool/Candle_maker_tool.ino
2019-12-27 19:23:10.394 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Dust_sensor/Dust_sensor.ino
2019-12-27 19:23:10.397 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Dust_sensor/Dust_sensor.ino
2019-12-27 19:23:11.145 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Carbon_sensor/Carbon_sensor.ino
2019-12-27 19:23:11.147 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Carbon_sensor/Carbon_sensor.ino
2019-12-27 19:23:11.854 INFO : Candle-manager-addon: downloading sketch at https://raw.githubusercontent.com/createcandle/Devices/master/Smart_lock/Smart_lock.ino
2019-12-27 19:23:11.857 INFO : Candle-manager-addon: Downloading: /home/pi/.mozilla-iot/addons/Candle-manager-addon/source/Smart_lock/Smart_lock.ino
2019-12-27 19:23:12.574 INFO : Candle-manager-addon: 3. Updated sketches
2019-12-27 19:23:12.577 INFO : Candle-manager-addon: ARDUINO UPDATE COMMAND = /home/pi/.mozilla-iot/addons/Candle-manager-addon/linux/arduino-cli core update-index
2019-12-27 19:23:18.340 INFO : Candle-manager-addon:
2019-12-27 19:23:18.343 INFO : Candle-manager-addon: 0 / 284483 0.00%
2019-12-27 19:23:18.345 INFO : Candle-manager-addon: Updating index: package_index.json 0 B / 277.82 KiB 0.00%
2019-12-27 19:23:18.346 INFO : Candle-manager-addon: Updating index: package_index.json 99.04 KiB / 277.82 KiB 35.65%
2019-12-27 19:23:18.349 INFO : Candle-manager-addon: Updating index: package_index.json 179.04 KiB / 277.82 KiB 64.44%
2019-12-27 19:23:18.351 INFO : Candle-manager-addon: Updating index: package_index.json downloaded
2019-12-27 19:23:18.353 INFO : Candle-manager-addon:
2019-12-27 19:23:18.354 INFO : Candle-manager-addon: 0 / 284483 0.00%
2019-12-27 19:23:18.357 INFO : Candle-manager-addon: Updating index: package_index.json 0 B / 277.82 KiB 0.00%
2019-12-27 19:23:18.358 INFO : Candle-manager-addon: Updating index: package_index.json 70.87 KiB / 277.82 KiB 25.51% 00m01s
2019-12-27 19:23:18.360 INFO : Candle-manager-addon: Updating index: package_index.json 222.87 KiB / 277.82 KiB 80.22%
2019-12-27 19:23:18.362 INFO : Candle-manager-addon: Updating index: package_index.json downloaded
2019-12-27 19:23:18.363 INFO : Candle-manager-addon:
2019-12-27 19:23:18.365 INFO : Candle-manager-addon: Command success
2019-12-27 19:23:18.367 INFO : Candle-manager-addon: CLI update index success
2019-12-27 19:23:21.611 INFO : Candle-manager-addon: Platform arduino:avr@1.8.2 already installed
2019-12-27 19:23:21.613 INFO : Candle-manager-addon:
2019-12-27 19:23:21.614 INFO : Candle-manager-addon: Command success
2019-12-27 19:23:21.617 INFO : Candle-manager-addon: CLI update AVR success
2019-12-27 19:23:21.618 INFO : Candle-manager-addon: 4. Updated Arduino CLI
2019-12-27 19:23:21.620 ERROR : Candle-manager-addon: 192.168.1.41 - - [27/Dec/2019 19:23:21] "GET /init HTTP/1.1" 200 -
The errors are on GET requests, which relates with @RMHogervorst comments.
After some trial and error I got everything working.
It seems that the way of setting up the Candle ecosystem has changed with some of the WebThings releases and the guide posted on https://www.candlesmarthome.com/controller is outdated. The big difference is that nothing happens after installing the controller and that is ok, you just have to go on and set up your first device.
In case anyone needs more details, these are the steps I followed (Mozilla WebThings ver 0.10.0):
Prepare the micro sd card, set up Mozilla WebThings and install the Candle Controller, as described on the guide mentioned before (steps 1-3) and reload your browser so that changes make effect.
Set up the controller device:
Install mySensors add-on the same way you installed the candle manager add-on and, once installed, disable it pressing the pause icon on the add-ons menu.
Set up your first sensor: Follow the steps described on the devices section on https://www.candlesmarthome.com/ to wire your arduino. Open the Candle manager from the menu and install the sketch corresponding to your device.
Go back to the add-ons page and enable mySensors. Go back to the main page and press the (+) icon on the bottom right corner. Now your new Candle device is found.
As a suggestion for improvement, maybe some warning after installing the controller, a small update on the web or a more detailed step by step guide, even here on Github could help a lot. Its awesome what you guys are doing, it's a great project for people with little experience with arduino and electronics and probably in this context, the more information provided, the better.
Hope this helps anyone setting up a Candle smart home!
So you install the candle controller addon and than go to the candle manager and just wait untill a message appears @MrW4S4B1 ?
So I fixed it too: WARNING THIS IS HIGHLY INSECURE AND SHOULD BE FIXED Because modern browsers block mixed content (http traffic in https website) The candle manager does not show up at all. In firefox follow these steps to allow mixed content for gateway.local https://support.mozilla.org/en-US/kb/mixed-content-blocking-firefox#w_unblock-mixed-content If you do that it will open the candle manager
So if we fix this small issue, candle will be an awesome product!
The reason you all had trouble was because you created a something.mozilla-iot.org
domain name. Since Candle is all about disconnecting from the internet, it was desigend to work fine it you skipped that step. But if you didn't...
It has now been fixed so that it also works if you create the domain name. Sorry for not spotting this discussion sooner.
The controller webpage has also been updated to reflect the new, simpler process. Since version 0.10.0 opening the Candle Manager could be done straight from the menu, so the 'Candle manager thing' was removed. But, again, if you chose to create the domain name, then the page would stay blank.
I cannot start the candle process I installed the webthingsgateway on my rpi2 b. I installed the candle manager addon I configured the addon The candle manager is a separate tab in the webthingsgateway However I when I run the add things step candle does not show up at all. I have tried without connecting the nano-rf and with the nano-rf connected. I see this
The candle manager tab is completely empty