Am a noob when it comes to HA and linux for that matter.
Am struggling to setup the Qwikswitch component and USB modem. Does anyone have a walk through, as the patchwork of info I have put together at this stage doesn’t seem to be getting me to where I’d like to end up.
do i have a working QSMobile app - haha - that’s where i’m stuck…
this is all a bit new to me, so you’ll need to excuse my lack of experience.
this is what i’ve done thus far:
bought the usb modem last friday
installed the modem and it’s app on my windows pc - this i downloaded from the QS website - everything works - am able to operate my ON-OFF relay just as mentioned on the box.
fired up the PI and edited the configuration.yaml as per the info on the HA components page - got nothing…
remembered that i need to to “install” the app (version 1.9 from the QS website) onto the Pi - finally figured this out late last night but have no idea it i was successful or not and as the hassbian image is headless and i haven’t figured out how to run a browser to be able to log into the usb GUI to see if the damn thing works…
figured that I needed to setup switches and lights - but am not sure where (have tried putting it in my sensors.yaml thus far) but fear that i’m getting the coding wrong and i do not see any toggle buttons on my homepage, neither can i figure out the error code given in the dev tools window as it only tells me that there is an error with “a component”
am currently imaging a fresh rasbian jessie install with pixel so that i can “see” what i’m doing whilst i give the usb modem install another go…
going to try and use the terminal to install the modem as much as possible but then will use chromium to log into the qs app to see if I can control the relay.
as mentioned in previous reply, i setup another Pi with the GUI and ran through the process of setting up the qsusb.
being able to see what was going on, i figured out that i needed to run the qsusb executable (and keep it running) in order for the pi to “see” the usb modem. also figured out that i needed to crontab the exe on reboot to get the usb to be activated each time the unit reboots.
where i’m stuck now is with the config of the various yaml files so that the buttons and the relays are configured.
please could i get a bit of help with this as the components page on the HA website is not very clear?
from the automation.yaml: (to recognise a button press - change the @butID to your button) in this automation i control a 3rd party device also connected to the system
also from the automation.yaml to switch off the fan after 1hour:
#Automatically turn off the ensuite bathroom fan
- alias: Ensuite fan auto off
condition: []
id: '1507146824836'
trigger:
- entity_id: light.bedroom_1_ensuite_fan
from: 'off'
platform: state
to: 'on'
action:
- delay:
minutes: 60
- alias: Turn off fan
data:
entity_id: light.bedroom_1_ensuite_fan
service: light.turn_off