Search found 14 matches
- Wednesday 18 July 2018 15:28
- Forum: Other questions and discussions
- Topic: Where does the python plugin handler get it's pythonpath?
- Replies: 1
- Views: 1521
Where does the python plugin handler get it's pythonpath?
I'm mucking about with a python plugin for a mi mini wifi plug. It relies on python-miio. pip3 install python-miio installs everything in ~/.local/lib/python3.6/site-packages/ That's how it is supposed to work - it won't put things into the system python, so that needs to be on the domoticz python ...
- Monday 16 July 2018 1:50
- Forum: Others
- Topic: Xiaomi Smart Socket Plug WiFi
- Replies: 17
- Views: 15093
Re: Xiaomi Smart Socket Plug WiFi
An update for anyone interested in the xiaomi mi plug mini wifi version. It has the big advantage that once set up, you don't need to put it within range of a xiaomi aqara gateway - it can be anywhere your local wifi network will reach. The miio project is now available as python-miio http://python ...
Re: Spotipy
Sorry, no. Never seen it but with that API, there are working python plugins like MoonPhases to use as a starting point - hack one of them to your needs? The rest as they say, is mere implemention :) There's a handy python plugin manager you can install as a plugin. They are a great way to quickly ...
- Friday 23 March 2018 0:01
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
Glad you fixed the parameters The log also shows a problem I've fixed in my repository and included in a pull request @ https://github.com/ycahome/MoonPhases/pull/3 2018-03-22 21:27:23.603 (Moon Phases) Creating images from file '/home/pi/domoticz/plugins/MoonPhases/SH_MoonPhases6WG.zip'. 2018-03-22 ...
- Thursday 22 March 2018 6:18
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
Works for me. Debug logs may help - turn debug on in both ppmanager and moonphases hardware entries? Both of those could be connection issues...but the debug log will give a lot more info including the weather underground url being called - it should show json with the appropriate local data in your ...
- Wednesday 14 March 2018 6:36
- Forum: Other questions and discussions
- Topic: Display with x~1000 and integer data shows as 10 unit steps
- Replies: 0
- Views: 389
Display with x~1000 and integer data shows as 10 unit steps
Latest beta on Ubuntu 17.10. The Xiaomi aqara temp/humidity/pressure sensors send pressure in mBar and the rightmost digit is definitely preserved in the data table shown below, but the "log" graph plotted points have all lost the last digit so annoyingly appear in steps of 10. Is this a feature or ...
- Monday 12 March 2018 22:51
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
For now it's working for me as I don't need any scripting for it. I've added some responses on the pull request. To make it more generally useful I'll need some advice on how to achieve a decent looking dashboard widget without the current hack of changing the Name parameter - need a generic widget ...
- Monday 12 March 2018 7:55
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
I got the widget to show the moon phase instead of a title - don't need to be reminded that it's the moon
It's a brutal hack - change the Name every time but I'm not sure it matters - let me know if there's a better way?
Pull request updated.
It's a brutal hack - change the Name every time but I'm not sure it matters - let me know if there's a better way?
Pull request updated.
- Sunday 11 March 2018 23:40
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
Pull request submitted. Seems to be working for me... I'll check out and try the python plugin manager - thanks for all your work! [update] Installed the ppm and used it to setup the NUT device for my ups - worked perfectly. So far so good - nice work! Been poking around domoticz custom image ...
- Sunday 11 March 2018 12:48
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
I have it working - needed some tweaks to plugin.py and new zips with the SH_ icons. Let me run it for a few days then I could post here or if you have a github repo how about a pull request?
- Sunday 11 March 2018 0:59
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
can we detect the hemisphere somehow safely (I suppose that city and timezone are not a valid indication)? then we can select the iconset to install or even select icon to update device (too many devices will be added). Yes - below is the wunderground json I get for Sydney and it has hemisphere as ...
- Saturday 10 March 2018 3:22
- Forum: Python
- Topic: Python Plugin: MoonPhases
- Replies: 57
- Views: 11241
Re: Python Plugin: MoonPhases
Excellent plugin - just what I was looking for - thanks @ycahome Installed without drama to the current beta, once I'd fixed indentation errors from cutting and pasting the python script. Now, the only problem is that all of the images are upside down!! :o This may come as a surprise for those ...
- Saturday 17 February 2018 3:39
- Forum: Other questions and discussions
- Topic: aqara gateway sounds
- Replies: 3
- Views: 987
Re: aqara gateway sounds
Replying to myself... :ugeek: Turns out the problem was that I was not on the same LAN segment as the Aqara gateway. Shifted domoticz to the file server on the main LAN and it talks to the gateway just fine at startup. Now I have frequent disconnects to deal with so learning all about logging - it's ...
- Friday 19 January 2018 4:04
- Forum: Other questions and discussions
- Topic: aqara gateway sounds
- Replies: 3
- Views: 987
aqara gateway sounds
I'm new to domoticz and have a new aqara xiaomi gateway with firmware 1.4.1_151.0143 connected to a domoticz server running the latest github dev code on ubuntu 17.04. I'm relying on the guide at https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara) but I can't see any of the sound devices that guide ...