Git Product home page Git Product logo

lightwaverf's People

Contributors

ianperrin avatar julianmclean avatar pauly avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lightwaverf's Issues

lightwaverf summarise and lightwaverf web exit with errors

really love the gem, normal on / off functionality works great, however the logging facility from the energy monitor is something i'm very keen on but doesnt seem to be working.

in the Docs you mention

'It is now a submodule in the app folder, though I'm not supporting it right. Instead build a simple one pager with:
lightwaverf summarise && lightwaverf web > /var/www/lightwaverf.html'

however summarise exits with
lightwaverf summarise && lightwaverf web
/gems/json-1.7.7/lib/json/common.rb:155:in initialize': A JSON text must at least contain two octets! (JSON::ParserError) from /Users/.rvm/gems/ruby-1.9.3-p448/gems/json-1.7.7/lib/json/common.rb:155:innew'
from /Users/.rvm/gems/ruby-1.9.3-p448/gems/json-1.7.7/lib/json/common.rb:155:in parse' from /Users/.rvm/gems/ruby-1.9.3-p448/gems/lightwaverf-0.6.5/lib/lightwaverf.rb:1090:insummarise'
from /Users//.rvm/gems/ruby-1.9.3-p448/gems/lightwaverf-0.6.5/bin/lightwaverf:29:in <top (required)>' from /Users/.rvm/gems/ruby-1.9.3-p448/bin/lightwaverf:23:inload'
from /Users/.rvm/gems/ruby-1.9.3-p448/bin/lightwaverf:23:in `

'

seems like it looking for a summmarise.json file - what should go in this file / where should it exist?

for lightwaverf web, this creates the HTML but is always missing energy data ? do i need to do something different to get this data ?

'No implicit conversion of nil into String (Type Error)'

Hi @hxpaul,

Just setting up a new installing this time on a RaspberryPi ๐Ÿ‘

All setup and config fine but I'm getting an error when running a command e.g.

lightwaverf bedroom light on

The error message is referencing line 428 and is:

'No implicit conversion of nil into String (Type Error)'

Also references line 36. I would copy the full error but not fully operational on the RaspberryPi yet so not easy!

Do you think this has anything to do with the last change i.e. add quotes in the room names that have spaces.

Thanks a lot,
Dave

Randomised calendar events don't work for toggled devices

I have motorised blinds and I just realised why they don't properly and go out of sync... I have them on a randomised timer, say 8am +/- 15mins. If the timers are checked every minute or so then this randomised start time might happen every minute during this time period. Each time it is triggered the lights might open or close again.
It's fine for simple on / off events.

Ruby Errors

Liking what you have developed, although not got it working yet. I've recently acquired the newer 930 wifi link running 2.91Y firmware with a 2-gang dimmer.

I'm trying to control this from a raspberry pi with your code but hit ruby errors for basically each command. Got around a few of them, but getting settings from the server is an issue, complaining about certificate not being verified. Any ideas?

Any plans for more development on this project?

Configuration initialisation from web server

Nice job with the command util, got it working but ran into an issue that took me a while to troubleshoot, so thought I should at least note it down here, in case it helps someone else.

After installing the gem, I used the update command to set up the yml config file. The json that came back from the webserver looked ok, and the config file generatedalso looked good, but trying to turn on / off my dimmer via the utility was not working.

I eventually tried to see where the problem was by using the raw udp commands ,but these were also not working using the expected format e.g. 123,!R1D1F1 etc.

It wasn't until I went onto lightwaverf.com > my lightwave, that I noticed that my device was actually set up as device 2 in the remote server configuration. i.e. the udp command should have been R1D2F1. After manually updating the yml config to match this, all is finally working.

Not sure it the problem was in the parsing of the server configuration or if the server response from lightwaverf itself is causing the problem. If I get some time I'll have a look at the code to see if I can create a pull request. Hope this helps for now.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Delay in command execution

Hi, I have installed lightwaverf on my pi which works fine, great job! My question is that there is a few second delay before the command is received by the lighwaverf link? Is there a way to action faster as i want to link it to my alarm pir's to switch on when dark & you walk into a room. the problem is that 3-4 seconds delay means you are walking well into the room before lights come on. I currently have x10 doing this & it works well. The control by iphone to lightwaverf link is instantaneous, anyway of speeding this up.
Any help would be appreciated.

Calendar is going to stop working in November

Because of low usage, and in an effort to streamline our services, from 18 November 2015, XML feeds will no longer be available in Google Calendar. You're getting this message because you're currently viewing or sharing a link to one or more of your calendars using an XML feed.

We apologise for any inconvenience caused. Google Calendar will continue to support three ways of viewing your calendars in other applications or on websites. You can:

Access your calendar in other applications, such as Microsoft Outlook or Apple Calendar, using iCal.
Embed your calendar in your website or blog using HTML.
Use the Google Calendar API to display, create and modify calendar events if you're a developer.
Finally, you can always view and manage your calendars using the Google Calendar app for Android, iPhone or on the web.
- The Calendar team

I'm going to have to rewrite the calendar part of this...

lightwaverf-daily.json

Firstly, brilliant work - I have pretty much the whole house covered and controlled by lwrf.
That said, I am having an error when using the lightwaverf energy command; cannot open /home/.../lightwaverf-daily.json
As per a previous issue, I have updated to 0.6.6 & use the summarise command to create the files, however, still have the same issue. I am unable to see the .json file(s)?, the tmp/energy.out & tmp/summarise.out purley show the same error.
What further information can i provide to debug? (I am not a developer and have lucky, or skillfully using google, managed to get the RPI setup and working!)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

bundler
Gemfile

  • Check this box to trigger a request for Renovate to run again on this repository

Lightwaverf UDP commands stopped working after WIFI link update to version U2.90N

Hi There,

I noticed that my PI lights service is not working any more. I realized that UDP commands are no longer recognized by WIFI link.

Can you tell me if the direct communication with LightwaveRF WIFI link still works for some of you ?

It appears that recently there was an update of WIFI Link firmware (I got U2.90N)

I see the latest LW Androind app still works.

Smart Series support?

Hi Paul,

Not sure if you are actively working this or maybe I can do a PR for you.
Have you had any luck in getting this working with the new Series2 WebApp.
As it looks like all the code is for the series1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.