Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Battery
-
reinholdkorst
- Posts: 13
- Joined: Fri Feb 20, 2015 8:34 pm
Re: Battery
if i execute autostart thab i get this massage
C:\Program Files (x86)\EventGhost\plugins\Battery\__init__.py:1269: RuntimeWarning: Parent module 'eg.CorePluginModule.Battery' not found while handling absolute import
from urllib2 import urlopen
C:\Program Files (x86)\EventGhost\plugins\Battery\__init__.py:1269: RuntimeWarning: Parent module 'eg.CorePluginModule.Battery' not found while handling absolute import
from urllib2 import urlopen
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Battery
I understand your sentence unfortunately very little.
However, it looks like you have a wrong file __init__.py.
Can you please put the file here as an attachment?
I need to see the contents of the file, that you have in the directory Battery.
Pako
However, it looks like you have a wrong file __init__.py.
Can you please put the file here as an attachment?
I need to see the contents of the file, that you have in the directory Battery.
Pako
You know flattr ? You can 

-
reinholdkorst
- Posts: 13
- Joined: Fri Feb 20, 2015 8:34 pm
Re: Battery
I put the file here
https://drive.google.com/folderview?id= ... sp=sharing
My engles is not verry good sorry.
https://drive.google.com/folderview?id= ... sp=sharing
My engles is not verry good sorry.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Battery
Yes, my suspicions were confirmed.
Unfortunately, you did not follow my instructions.
This is not a file that you can download from the opening post of this topic.
This is autoremote plugin.
Pako
Unfortunately, you did not follow my instructions.
This is not a file that you can download from the opening post of this topic.
This is autoremote plugin.
Pako
You know flattr ? You can 

-
reinholdkorst
- Posts: 13
- Joined: Fri Feb 20, 2015 8:34 pm
Re: Battery
I douwload the file from the first post and i save the file in the battery map.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Battery
It is impossible. In some of the steps you're making a mistake.reinholdkorst wrote:I douwload the file from the first post and i save the file in the battery map.
Unfortunately I can not see in which.
I am not able to help more.
Pako
You know flattr ? You can 

-
reinholdkorst
- Posts: 13
- Joined: Fri Feb 20, 2015 8:34 pm
Re: Battery
I douwnload the file from the first post
I make the map battery in eventghoste/plugin
I copy the file that i douwnloaded
I restart eventghost
I have don it agin but it dont work.
But thaks for the time.
I make the map battery in eventghoste/plugin
I copy the file that i douwnloaded
I restart eventghost
I have don it agin but it dont work.
But thaks for the time.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Battery
When I download the file and look into it with an editor (notepad.exe)
so the file begins as follows:Can you explain to me how it can be changed as follows (you saying, that you have this file in the folder Battery):Pako
so the file begins as follows:
Code: Select all
version="0.0"
# Plugins/Battery/__init__.py
#
# Copyright (C) 2014 Pako ([email protected])
#
# This file is a plugin for EventGhost.
# Copyright (C) 2005-2009 Lars-Peter Voss <[email protected]>
Code: Select all
# -*- coding: utf-8 -*-
import eg
eg.RegisterPlugin(
name = "AutoRemote",
author = "joaomgcd",
You know flattr ? You can 

-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Battery
Could it be so simple....that when you download the file, it is already one existing in the download folder with the same name (__init__.py) ????
If you then download a new file with the same name it will automatically get the name __init__ (1).py, the third will be __init__ (2).py etc etc
Check carefully in the download folder that it is not having those files inside. Then clean up and redo download again
If you then download a new file with the same name it will automatically get the name __init__ (1).py, the third will be __init__ (2).py etc etc
Check carefully in the download folder that it is not having those files inside. Then clean up and redo download again
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Battery
Dear Walter,
I am sure you are right.
That's the only possible explanation of how this can happen.
Thank you for your help.
Luboš
I am sure you are right.
That's the only possible explanation of how this can happen.
Thank you for your help.
Luboš
You know flattr ? You can 

Re: Battery
hello pako
can you tell me how to use this plugin. i'm a new to eventghost.. when i play the "get battery percentage" nothing happens
can you tell me how to use this plugin. i'm a new to eventghost.. when i play the "get battery percentage" nothing happens
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Battery
Pako is currently on vacation, will be back later in autumn
Maybe some other user using this plugin can help you out
Maybe some other user using this plugin can help you out
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: Battery
Do you use windows10?
I installed it yesterday and it seems that nothing happens.
Maybe the way to get the batterystatus is different to previous versions?
Does anybody use it with windows10 and it works?
I installed it yesterday and it seems that nothing happens.
Maybe the way to get the batterystatus is different to previous versions?
Does anybody use it with windows10 and it works?
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Battery
A lot is not working any longer in Windows 10, there are not only problems with some plugins for EG
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: Battery
it works 
My mistake was to edit the plugin without restart.
Your plugin is listed in autorun?
You did edit the plugin?
Otherwise make a doubleclick and add some alarmlevels.
After pressing OK restart the plugin.
You should find an event called "battery.AlarmLevel.yourname[/]", when percentage is reached.
My mistake was to edit the plugin without restart.
Your plugin is listed in autorun?
You did edit the plugin?
Otherwise make a doubleclick and add some alarmlevels.
After pressing OK restart the plugin.
You should find an event called "battery.AlarmLevel.yourname[/]", when percentage is reached.