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

Device: SHCB-1 (Shelly Bulb Color) #88

Open
LordMike opened this issue Dec 16, 2022 · 0 comments
Open

Device: SHCB-1 (Shelly Bulb Color) #88

LordMike opened this issue Dec 16, 2022 · 0 comments

Comments

@LordMike
Copy link

Hi,

I'm trying this out, and gave the flashing script a go. It seems to indicate that SHCB-1 is not supported, but given other issues I think it should've been? :)

I tried the following two using the ota url on one of the bulbs, and might have bricked one of them. I still need to locate it to confirm.

  • http://ota.tasmota.com/tasmota/shelly/mg2tasmota-ShellyBulbDuo.zip seemingly did nothing, but this is from another project (no reboots etc.)
  • http://dl.dasker.eu/firmware/mg2tasmota-ShellyDuoRGBW.zip the bulb is also known by this name afaict, but this removed the device from the network and it did not create its own Tasmota wifi network. This is why I went with the flashing script to pick the correct firmware :).
$ python3 flash-shelly.py -t tasmota 192.168.1.217 -v 1
OS: Linux
manual_hosts: ['192.168.1.217']
target: tasmota
do_all: False
dry_run: False
silent_run: False
exclude: None
verbose: 1

stock_release_info:{'isok': True, 'data': {'SHPLG-1': {'url': 'http://firmware.shelly.cloud/gen1/SHPLG-1.zip', 'version': '20210115-103101/v1.9.4@e2732e05'}, 'SHPLG-S': {'url': 'http://firmware.shelly.cloud/gen1/SHPLG-S.zip', 'version': '20221027-101131/v1.12.1-ga9117d3'}, 'SHPLG-IT1': {'url': 'http://firmware.shelly.cloud/gen1/SHPLG-IT1.zip', 'version': '20211109-130408/v1.11.7-g682a0db'}, 'SHPLG-UK1': {'url': 'http://firmware.shelly.cloud/gen1/SHPLG-UK1.zip', 'version': '20211109-130512/v1.11.7-g682a0db'}, 'SHPLG-AU1': {'url': 'http://firmware.shelly.cloud/gen1/SHPLG-AU1.zip', 'version': '20211109-130618/v1.11.7-g682a0db'}, 'SHPLG-U1': {'url': 'http://firmware.shelly.cloud/gen1/SHPLG-U1.zip', 'version': '20221027-101717/v1.12.1-ga9117d3'}, 'SHPLG2-1': {'url': 'http://firmware.shelly.cloud/gen1/SHPLG2-1.zip', 'version': '20221027-102248/v1.12.1-ga9117d3'}, 'SHSW-1': {'url': 'http://firmware.shelly.cloud/gen1/SHSW-1.zip', 'version': '20221027-091427/v1.12.1-ga9117d3'}, 'SHSW-21': {'url': 'http://firmware.shelly.cloud/gen1/SHSW-21.zip', 'version': '20221027-091902/v1.12.1-ga9117d3'}, 'SHSW-25': {'url': 'http://firmware.shelly.cloud/gen1/SHSW-25.zip', 'version': '20221027-092056/v1.12.1-ga9117d3'}, 'SHSW-PM': {'url': 'http://firmware.shelly.cloud/gen1/SHSW-PM.zip', 'version': '20221108-153925/v1.12.1-1PM-fix-g2821131'}, 'SHSW-L': {'url': 'http://firmware.shelly.cloud/gen1/SHSW-L.zip', 'version': '20221027-091704/v1.12.1-ga9117d3'}, 'SHAIR-1': {'url': 'http://firmware.shelly.cloud/gen1/SHAIR-1.zip', 'version': '20221027-103506/v1.12.1-ga9117d3'}, 'SHSW-44': {'url': 'http://firmware.shelly.cloud/gen1/SHSW-44.zip', 'version': '20201019-110845/v1.6.6_4Pro@bad181e4'}, 'SHUNI-1': {'url': 'http://firmware.shelly.cloud/gen1/SHUNI-1.zip', 'version': '20221027-121732/v1.12.1-ga9117d3'}, 'SHEM': {'url': 'http://firmware.shelly.cloud/gen1/SHEM.zip', 'version': '20221027-105518/v1.12.1-ga9117d3'}, 'SHEM-3': {'url': 'http://firmware.shelly.cloud/gen1/SHEM-3.zip', 'version': '20221027-110030/v1.12.1-ga9117d3'}, 'SHSEN-1': {'url': 'http://firmware.shelly.cloud/gen1/SHSEN-1_build.zip', 'version': '20200717-112934/v1.7.7@a02db0b8'}, 'SHMOS-01': {'url': 'http://shelly-api-eu.shelly.cloud/firmware/SHMOS-01_build.gbl', 'version': '20220811-152232/v2.1.8@5afc928c'}, 'SHMOS-02': {'url': 'http://shelly-api-eu.shelly.cloud/firmware/SHMOS-02_build.gbl', 'version': '20220811-152232/v2.1.8@5afc928c'}, 'SHGS-1': {'url': 'http://firmware.shelly.cloud/gen1/SHGS-1.zip', 'version': '20221027-111245/v1.12.1-ga9117d3'}, 'SHSM-01': {'url': 'http://firmware.shelly.cloud/gen1/SHSM-01.zip', 'version': '20221027-092259/v1.12.1-ga9117d3'}, 'SHHT-1': {'url': 'http://firmware.shelly.cloud/gen1/SHHT-1.zip', 'version': '20221027-092707/v1.12.1-ga9117d3'}, 'SHWT-1': {'url': 'http://firmware.shelly.cloud/gen1/SHWT-1.zip', 'version': '20221027-092932/v1.12.1-ga9117d3'}, 'SHDW-1': {'url': 'http://firmware.shelly.cloud/gen1/SHDW-1.zip', 'version': '20221027-093025/v1.12.1-ga9117d3'}, 'SHDW-2': {'url': 'http://firmware.shelly.cloud/gen1/SHDW-2.zip', 'version': '20221027-093702/v1.12.1-ga9117d3'}, 'SHSPOT-1': {'url': 'http://firmware.shelly.cloud/gen1/SHSPOT-1.zip', 'version': '20201124-091104/v1.9.0@57ac4ad8'}, 'SHCL-255': {'url': 'http://firmware.shelly.cloud/gen1/SHCL-255.zip', 'version': '20221027-084928/v1.12.1-ga9117d3'}, 'SHBLB-1': {'url': 'http://firmware.shelly.cloud/gen1/SHBLB-1.zip', 'version': '20221027-090206/v1.12.1-ga9117d3'}, 'SHCB-1': {'url': 'http://firmware.shelly.cloud/gen1/SHCB-1.zip', 'version': '20221027-085547/v1.12.1-ga9117d3'}, 'SHRGBW2': {'url': 'http://firmware.shelly.cloud/gen1/SHRGBW2.zip', 'version': '20221027-095336/v1.12.1-ga9117d3'}, 'SHRGBWW-01': {'url': 'http://firmware.shelly.cloud/gen1/SHRGBWW-01.zip', 'version': '20221027-090800/v1.12.1-ga9117d3'}, 'SH2LED-1': {'url': 'http://firmware.shelly.cloud/gen1/SH2LED-1.zip', 'version': '20221027-091044/v1.12.1-ga9117d3'}, 'SHDM-1': {'url': 'http://firmware.shelly.cloud/gen1/SHDM-1.zip', 'version': '20221027-103924/v1.12.1-ga9117d3'}, 'SHDM-2': {'url': 'http://firmware.shelly.cloud/gen1/SHDM-2.zip', 'version': '20221027-104444/v1.12.1-ga9117d3'}, 'SHDIMW-1': {'url': 'http://firmware.shelly.cloud/gen1/SHDIMW-1.zip', 'version': '20221027-105006/v1.12.1-ga9117d3'}, 'SHVIN-1': {'url': 'http://firmware.shelly.cloud/gen1/SHVIN-1.zip', 'version': '20221027-090610/v1.12.1-ga9117d3'}, 'SHBDUO-1': {'url': 'http://firmware.shelly.cloud/gen1/SHBDUO-1.zip', 'version': '20221027-090712/v1.12.1-ga9117d3'}, 'SHBTN-1': {'url': 'http://firmware.shelly.cloud/gen1/SHBTN-1.zip', 'version': '20221027-094235/v1.12.1-ga9117d3'}, 'SHBTN-2': {'url': 'http://firmware.shelly.cloud/gen1/SHBTN-2.zip', 'version': '20221027-094830/v1.12.1-ga9117d3'}, 'SHIX3-1': {'url': 'http://firmware.shelly.cloud/gen1/SHIX3-1.zip', 'version': '20221027-110540/v1.12.1-ga9117d3'}, 'SHTRV-01': {'url': 'http://shelly-api-eu.shelly.cloud/firmware/SHTRV-01_build.gbl', 'version': '20220811-152343/v2.1.8@5afc928c'}}}

intermediate_release_info:[['x2.11.0-.*', {'version': '2.11.0-beta6', 'rel_notes': 'https://github.com/mongoose-os-apps/shelly-homekit/issues/868', 'rel_notesX': '', 'urls': {'Shelly1': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-Shelly1.zip', 'Shelly1L': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-Shelly1L.zip', 'Shelly1PM': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-Shelly1PM.zip', 'Shelly2': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-Shelly2.zip', 'Shelly25': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-Shelly25.zip', 'ShellyColorBulb': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyColorBulb.zip', 'ShellyDuo': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyDuo.zip', 'ShellyI3': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyI3.zip', 'ShellyPlug': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyPlug.zip', 'ShellyPlugS': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyPlugS.zip', 'ShellyPlus1': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyPlus1.zip', 'ShellyPlus1PM': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyPlus1PM.zip', 'ShellyPlusI4': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyPlusI4.zip', 'ShellyRGBW2': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyRGBW2.zip', 'ShellyUNI': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyUNI.zip', 'ShellyVintage': 'https://rojer.me/files/shelly/2.11.0-beta6/shelly-homekit-ShellyVintage.zip'}}], ['.*', {'version': '2.11.2', 'rel_notes': 'https://github.com/mongoose-os-apps/shelly-homekit/releases/tag/2.11.2', 'urls': {'Shelly1': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-Shelly1.zip', 'Shelly1L': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-Shelly1L.zip', 'Shelly1PM': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-Shelly1PM.zip', 'Shelly2': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-Shelly2.zip', 'Shelly25': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-Shelly25.zip', 'ShellyColorBulb': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyColorBulb.zip', 'ShellyDuo': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyDuo.zip', 'ShellyI3': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyI3.zip', 'Shelly-i3': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyI3.zip', 'ShellyPlug': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlug.zip', 'ShellyPlugS': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlugS.zip', 'ShellyPlus1': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlus1.zip', '"ShellyPlus1"': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlus1.zip', 'ShellyPlus1PM': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlus1PM.zip', '"ShellyPlus1PM"': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlus1PM.zip', 'ShellyPlusI4': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlusI4.zip', '"ShellyPlusI4"': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyPlusI4.zip', 'ShellyRGBW2': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyRGBW2.zip', 'ShellyUNI': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyUNI.zip', 'ShellyVintage': 'https://rojer.me/files/shelly/2.11.2/shelly-homekit-ShellyVintage.zip'}}]]

device_scan
Probing Shelly device for info...

Valid Hostname: 192.168.1.217 True
Hostname: 192.168.1.217 is Online
Device URL: http://192.168.1.217/settings
device_test: [{'host': '192.168.1.217', 'wifi_ip': '192.168.1.217', 'fw_type': 'stock', 'device_url': 'http://192.168.1.217/settings', 'info': {'device': {'type': 'SHCB-1', 'mac': '98CDAC1EFB62', 'hostname': 'shellycolorbulb-98CDAC1EFB62', 'submodel': 0, 'num_outputs': 1}, 'wifi_ap': {'enabled': False, 'ssid': 'shellycolorbulb-98CDAC1EFB62', 'key': ''}, 'wifi_sta': {'enabled': True, 'ssid': 'devices', 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'wifi_sta1': {'enabled': False, 'ssid': None, 'ipv4_method': 'dhcp', 'ip': None, 'gw': None, 'mask': None, 'dns': None}, 'ap_roaming': {'enabled': False, 'threshold': -70}, 'mqtt': {'enable': False, 'server': '192.168.33.3:1883', 'user': '', 'id': 'shellycolorbulb-98CDAC1EFB62', 'reconnect_timeout_max': 60.0, 'reconnect_timeout_min': 2.0, 'clean_session': True, 'keep_alive': 60, 'max_qos': 0, 'retain': False, 'update_period': 30}, 'coiot': {'enabled': True, 'update_period': 15, 'peer': '', 'execute_enable': False}, 'sntp': {'server': 'time.google.com', 'enabled': True}, 'login': {'enabled': False, 'unprotected': False, 'username': 'admin'}, 'pin_code': '', 'name': None, 'fw': '20221027-085547/v1.12.1-ga9117d3', 'discoverable': False, 'build_info': {'build_id': '20221027-085547/v1.12.1-ga9117d3', 'build_timestamp': '2022-10-27T08:55:47Z', 'build_version': '1.0'}, 'cloud': {'enabled': True, 'connected': True}, 'timezone': 'Europe/Copenhagen', 'lat': 55.670189, 'lng': 12.58565, 'tzautodetect': True, 'tz_utc_offset': 3600, 'tz_dst': False, 'tz_dst_auto': True, 'time': '14:53', 'unixtime': 1671198812, 'debug_enable': False, 'allow_cross_origin': False, 'actions': {'active': False, 'names': ['out_on_url', 'out_off_url']}, 'hwinfo': {'hw_revision': 'prod-102020', 'batch_id': 0}, 'mode': 'color', 'lights': [{'ison': True, 'red': 0, 'green': 0, 'blue': 255, 'white': 0, 'gain': 100, 'temp': 4750, 'brightness': 100, 'transition': 1000, 'effect': 0, 'default_state': 'on', 'auto_on': 0.0, 'auto_off': 0.0, 'schedule': False, 'night_mode': {'enabled': False, 'start_time': '00:00', 'end_time': '00:00', 'brightness': 0}, 'schedule_rules': []}], 'night_mode': {'enabled': False, 'start_time': '00:00', 'end_time': '00:00', 'brightness': 0}, 'eco_mode_enabled': True}}]
Mode: Stock To Intermediate

parse_info
device_info: <__main__.StockDevice object at 0x7f3f4951a8b0>
host: 192.168.1.217
device: shellycolorbulb-98CDAC1EFB62
model: SHCB-1
stock_model: SHCB-1
colour_mode: color
target firmware: tasmota
dlurl: http://dl.dasker.eu/firmware/mg2tasmota-SHCB-1.zip
Host: http://192.168.1.217
Device ID: shellycolorbulb-98CDAC1EFB62
IP: 192.168.1.217
Model: SHCB-1
D_URL: None
Device is not supported yet...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant