Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
ppeterr 205
[edit] i think i should have placed it in the "Scenes and Interface" section, sorry for that.
So, i'm new, newbe, so...dont shoot me
I've been reading a lot, on this forum and elsewhere trying to get my Powerview shades connected to a zwave switch.
It seems to be much harder to manage then i was hoping for. My head spins around with all the information, code lines and such,
Also, none of the info i found seems to be complete. It is all like "do it in LUA", make a QA or a a bunch of code lines.
I hope to find some hints, or answers - help with that.
So, what i worked out:
- The 8 button fysical wall switch works.
- The powerview plugin works, and the scene's controlled from the hub work
The imported scene's dont work, and need i to make a QA or a LUA scene for that.
What i tried:
I made a block scene with the switch, and a HUE lamp, converted this to LUA
this is the "what if button is pressed" and it works.
Please login or register to see this code.
The action part, i made this - but its wrong.
Please login or register to see this code.
It gives this error:
10.07.2021] [07:00:40] [ERROR] [SCENE4]: (load):1: attempt to index a nil value (global 'Net')
I know there is a lost of writing about this on the forum but, I am totally lost in what to do, is this sort of the right way to do it ?
Should i do it with a QA ?
tags
Top Posters For This Question
23
7
6
6
Popular Days
Jul 10
26
Jul 12
11
Jul 11
3
Jan 21
2
Top Posters For This Question
ppeterr 23 posts
tinman 7 posts
Symbiot78 6 posts
mike79 6 posts
Popular Days
Jul 10 2021
26 posts
Jul 12 2021
11 posts
Jul 11 2021
3 posts
Jan 21 2022
2 posts
Popular Posts
tinman
regarding to the API both (depending on firmware version) should work, with upper i ( /api/scenes?sceneId=25173 ) or ( /api/scenes/25173) Probably the missing thing is content type, so try this o
tinman
you guys might try code above with QuickApp, the reason is very simply, Quick App and Scenes are using different http implementation. In scene i would normally use urlencode for everything
Symbiot78
@ppeterr - great.. Will test this. Just as an FYI .. the powerview module - which comes from Fibaro - that you can install ... I think I found the problem with it AND the
46 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.