jsiravo07
(Joe Siravo)
December 6, 2016, 9:15pm
1
So i bought this product from Amazon before i learned about HA. Anyone have any idea how to add a component into HA?
http://tinyurl.com/jfxdefr
However I cannot find the actual product page, I dont think one exists.
So far… the device is reliable and works well outside. We will see if it holds up during the holidays.
1 Like
kmcgerald
(Kmcgerald)
December 12, 2016, 8:45pm
2
I was tempted to get one of those too but checked for HA support first. Have you tried sniffing the traffic to it to see how it’s controlled? Does the device/app work if you’re on your home network but the network isn’t connected to the internet (device doesn’t need cloud relay)?
jsiravo07
(Joe Siravo)
December 12, 2016, 9:00pm
3
Haven’t had time to run a sniffer yet and i also haven’t tested without my internet down.
kmcgerald
(Kmcgerald)
January 23, 2017, 9:31pm
4
Any luck sniffing this WiOn product?
Dwalt
(Dwalt)
February 14, 2017, 4:18am
5
My apologies for bumping an older thread but all these WiOn products are just a rebrand of the Ecoplug product line from Kab Industries . They are based upon the esp8266 (ex version). These can be reflashed to work securely via MQTT with no cloud exposure, etc. I just use a homie-sonoff sketch and reassign pin numbers. I have the RC-028W and CT-065W in my HA system.
3 Likes
i have converted 2 of these so far into HA esp widgets. you have to solder some wires and get a serial connection working. connect 3.3v
rx
gnd
tx
io0
substitutions:
name: wion1
friendly_name: wion1
device_name: wion1
esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
project:
name: esphome.web
version: dev
esp8266:
board: esp01_1m
# Enable logging
logger:
preferences:
flash_write_interval: 1440min
time:
- platform: homeassistant
id: homeassistant_time
# Enable Home Assistant API
api:
ota:
- platform: esphome
improv_serial:
dashboard_import:
package_import_url: github://esphome/example-configs/esphome-web/esp32.yaml@main
import_full_config: true
web_server:
wifi:
ssid: flower
password: flower88
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.1.19
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.1.254
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
dns1: 192.168.1.64
dns2: 8.8.8.8
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Wion1 Fallback Hotspot"
password: "wionsucks"
captive_portal:
network:
enable_ipv6: true
min_ipv6_addr_count: 2
mdns:
disabled: false
switch:
- platform: restart
name: "xxx reboot wion 1!"
- platform: gpio
pin: GPIO15
#inverted: True
name: "wion 1"
id: wion1
binary_sensor:
- platform: gpio
pin:
number: GPIO13
mode:
input: true
inverted: true
id: wion1button
name: "wion 1 button"
on_click:
min_length: 30ms
max_length: 500ms
then:
- switch.toggle: wion1
text_sensor:
- platform: wifi_info
ip_address:
name: ESP IP Address
address_0:
name: ESP IP Address 0
address_2:
name: ESP IP Address 2
ssid:
name: ESP Connected SSID
bssid:
name: ESP Connected BSSID
mac_address:
name: ESP Mac Wifi Address
dns_address:
name: ESP DNS Address
sensor:
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: "WiFi Signal dB"
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
- platform: copy # Reports the WiFi signal strength in %
source_id: wifi_signal_db
name: "WiFi Signal Percent"
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "Signal %"
entity_category: "diagnostic"
device_class: ""