Comments (8)
Hum, not much ideas I'm afraid.
Are you sure the pigpiod daemon is running? Have you checked the solved issues? https://github.com/Nickduino/Pi-Somfy/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed
(I've modified the file just now, please give it a second shot)
from pi-somfy.
Thanks. appreciate the quick response. I did a bit of digging and my pigpiod is in v64, which seems correct. However I got another thought. When I download the somfy.py from github and run it, I get an error message:
File "./somfy.py", line 115 for j in range(1,repetition): # repeating frames ^ IndentationError: unexpected indent
So I added indentation to line 113, making essentially a nested for loop in line 115 (within line 105). But I'm now thinking whether I should remove indentation from line 115, bringing it on the same level as line 105, and therefore not nesting the 2 for loops. If I do so, the code works without error. (and I could move on to program my shutter to recognize my new remote)
What do you think is correct?
from pi-somfy.
is only a problem of tab spaces
from pi-somfy.
Well, "I've modified the file just now, please give it a second shot"
Did you? 'cause I changed the indentation of line 122 and following.
from pi-somfy.
i have the file complete can i upload the file?
from pi-somfy.
Yes I did download it again. You see the same problem here with line 115 (following 113):
https://github.com/Nickduino/Pi-Somfy/blob/master/somfy.py
from pi-somfy.
The file is fixed, but for some reason git down the old file
you just have to modify the spaces of these lines and it works well
and do not forget to start pigpiod
from pi-somfy.
i have the file complete can i upload the file?
I believe the proper Github way would be to fork my repo, fix my file, then make a pull request. But I'm supposed to have fixed it yesterday already.
The file is fixed, but for some reason git down the old file
That's a weird behavior. Anyway, yes the wf.append() around line 126 have to be inside the if: and the else:
from pi-somfy.
Related Issues (20)
- Newer `requirements.txt` versions incompatible with pi-zero HOT 6
- FS1000A transmitter versions HOT 1
- PIGPIO timing off by a factor of 2 HOT 4
- Multiple channels activated on press HOT 10
- Can this be used concurrently with a normal somfy rts remote? HOT 2
- Moved to different Pi breaks? HOT 1
- Somfy Pi HOT 8
- ShutterName HOT 1
- Infinite loading time HOT 2
- Feedback
- DIfference between old and new blinds HOT 1
- Pi-Somfy with Apache2 WSGI integration
- Will this work with Banana pi or Orange pi?
- Can´t pair my Shutters HOT 10
- 32 to 64 bit issue HOT 11
- Should that work in 433.92 MHz? HOT 2
- TX pin is initialized high after startup HOT 1
- e07-m1101d compatibility HOT 3
- Raspberry Pi Pico W Compatibility HOT 1
- Open/Close Shutter Duration - How initialized? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-somfy.