Hi,
just asking..
is it possible to receive json into this webserver plugin?
I am trying to receive a trap from a SMS provider and i useing webserver plugin.
When i receive a trap i see:
Webserver: Exception on handle_one_request: 'method'
Eddie
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.
Search found 41 matches
- Thu Apr 13, 2017 1:52 pm
- Forum: Plugin Support
- Topic: Webserver
- Replies: 331
- Views: 141652
- Mon Oct 31, 2016 12:22 pm
- Forum: General Support
- Topic: Multiprossecing
- Replies: 7
- Views: 2341
Re: Multiprossecing
Yes, I am total newbee ... :-)
I know what I want, know the ide and how the prosess should work, but i do not know Python good programming.. :-)
I attach the layout of my scripts....
EPE-script-layout.PNG
And I will test your good tips for Schedule.task it :-)
the primary scrips look like this ...
I know what I want, know the ide and how the prosess should work, but i do not know Python good programming.. :-)
I attach the layout of my scripts....
EPE-script-layout.PNG
And I will test your good tips for Schedule.task it :-)
the primary scrips look like this ...
- Sun Oct 30, 2016 7:01 pm
- Forum: General Support
- Topic: Multiprossecing
- Replies: 7
- Views: 2341
Re: Multiprossecing
tnx Krambriw...
i using:
eg.plugins.EventGhost.TriggerEvent(u'scrip1', 0.0)
so i guess i can use:
def manyScripts(event):
print "check splitts and 'do something'"
eg.plugins.EventGhost.TriggerEvent(u'scrip1', 0.0)
time.sleep(2)
theEnd(event)
1. is there any other ways/syntax to call other ...
i using:
eg.plugins.EventGhost.TriggerEvent(u'scrip1', 0.0)
so i guess i can use:
def manyScripts(event):
print "check splitts and 'do something'"
eg.plugins.EventGhost.TriggerEvent(u'scrip1', 0.0)
time.sleep(2)
theEnd(event)
1. is there any other ways/syntax to call other ...
- Sun Oct 30, 2016 6:20 pm
- Forum: General Support
- Topic: Multiprossecing
- Replies: 7
- Views: 2341
Re: Multiprossecing
i am using "trigger event" to activate my sub rutines.
But "trigger event" does not have any "wait for executed \ finish ...
is there any simple ways to "que" my tasks?
Or maybe call sub scripts/events with "wait for finish" ??
But "trigger event" does not have any "wait for executed \ finish ...
is there any simple ways to "que" my tasks?
Or maybe call sub scripts/events with "wait for finish" ??
- Sun Oct 30, 2016 5:14 pm
- Forum: General Support
- Topic: Multiprossecing
- Replies: 7
- Views: 2341
Multiprossecing
Hi,
So long time , alot of coding . i figure out some issues..
I have a "old way" script.. that prosess alot of data and I can see that I having problems with the multiprosess requests..
My script uses aprox 2-3 seconds to complete.
the script is simple
main script - receive a event trap, decode ...
So long time , alot of coding . i figure out some issues..
I have a "old way" script.. that prosess alot of data and I can see that I having problems with the multiprosess requests..
My script uses aprox 2-3 seconds to complete.
the script is simple
main script - receive a event trap, decode ...
- Mon Apr 11, 2016 9:13 pm
- Forum: General Support
- Topic: xml og soap post?
- Replies: 3
- Views: 1559
Re: xml og soap post?
Is there any1 that has testet soap/xml port with python?
Eddie
Eddie
- Sun Apr 10, 2016 12:46 pm
- Forum: General Support
- Topic: xml og soap post?
- Replies: 3
- Views: 1559
Re: xml og soap post?
So my question is that I would like to do a soap query with Phyton to a SOAP service

Any tips will help alot...
Eddie
Any tips will help alot...
Eddie
- Sat Apr 09, 2016 10:11 pm
- Forum: General Support
- Topic: xml og soap post?
- Replies: 3
- Views: 1559
Re: xml og soap post?
I have been able to read fom my soap service with this:
import requests
url="http://webserver/ProductWSDL.php"
#headers = {'content-type': 'application/soap+xml'}
headers = {'content-type': 'text/xml'}
body = """<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:ns0="http://ws.cdyne ...
import requests
url="http://webserver/ProductWSDL.php"
#headers = {'content-type': 'application/soap+xml'}
headers = {'content-type': 'text/xml'}
body = """<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:ns0="http://ws.cdyne ...
- Sat Apr 09, 2016 7:11 pm
- Forum: General Support
- Topic: xml og soap post?
- Replies: 3
- Views: 1559
xml og soap post?
Hi,
Have any1 testet how to send XML or SOAP POST from EG?
I found this from internet but i didnt get it working...
import requests
url="http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL"
#headers = {'content-type': 'application/soap+xml'}
headers = {'content-type': 'text/xml'}
body = """<?xml ...
Have any1 testet how to send XML or SOAP POST from EG?
I found this from internet but i didnt get it working...
import requests
url="http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL"
#headers = {'content-type': 'application/soap+xml'}
headers = {'content-type': 'text/xml'}
body = """<?xml ...
- Sat Apr 09, 2016 2:24 pm
- Forum: General Support
- Topic: xml tags search and split?
- Replies: 1
- Views: 1436
xml tags search and split?
Hi Is there any good ways to split a "eg.event.string" with many xml tags?
I have a http request into EG with
<adress>gofy1</adress><number>1234</number>
so I would like to split the tags into vars...
Any easy ways?
Tnx, Eddie
I have a http request into EG with
<adress>gofy1</adress><number>1234</number>
so I would like to split the tags into vars...
Any easy ways?
Tnx, Eddie
- Thu Jul 30, 2015 3:35 pm
- Forum: Plugin Support
- Topic: RFXCOM for xPL
- Replies: 45
- Views: 28925
Re: RFXCOM for xPL
I gets an error when I start xPLhalManager
Unable to load the plug-in library c:\xx.xx.xx\rfxcom.xlm
the library may be corrupt or contains errors...
the spesific error details are:
the "link" start tag on line 86 does not match the end tag of 'head'. Line 161, position 3.
I tryed todelete the ...
Unable to load the plug-in library c:\xx.xx.xx\rfxcom.xlm
the library may be corrupt or contains errors...
the spesific error details are:
the "link" start tag on line 86 does not match the end tag of 'head'. Line 161, position 3.
I tryed todelete the ...
- Thu Mar 19, 2015 1:06 pm
- Forum: Plugin Support
- Topic: Window opener Electronics remote controlled
- Replies: 0
- Views: 2324
Window opener Electronics remote controlled
Do any1 know about any window opener to be used with 433.94 MHz ?
Tellstick or rfx433
Eddie
Tellstick or rfx433
Eddie
- Mon Mar 02, 2015 11:08 am
- Forum: General Support
- Topic: windows os temtrature sensor?
- Replies: 1
- Views: 1584
Re: windows os temtrature sensor?
So I got a god tips from jackslayter (from Domoticz forum) about a tool called - "Remote Sensor Monitor - A RESTful Web Server"
This is a nice tool that grab information from HWiNFO, GPU-Z, AIDA64 and (default) OpenHardwareMonitor.
(you will need dot.net 4.0)
http://www.hwinfo.com/forum/Thread ...
This is a nice tool that grab information from HWiNFO, GPU-Z, AIDA64 and (default) OpenHardwareMonitor.
(you will need dot.net 4.0)
http://www.hwinfo.com/forum/Thread ...
- Sun Mar 01, 2015 3:48 pm
- Forum: General Support
- Topic: windows os temtrature sensor?
- Replies: 1
- Views: 1584
windows os temtrature sensor?
Hi,
do any1 know about how to get the temprature from my windows pc into eventghost?
Any agent?, app? read file? web?
I have a windows server and a eventghost (windows server)
I would like to read CPU temp into eventghost by remote
Eddie
do any1 know about how to get the temprature from my windows pc into eventghost?
Any agent?, app? read file? web?
I have a windows server and a eventghost (windows server)
I would like to read CPU temp into eventghost by remote
Eddie
- Sun Feb 22, 2015 12:04 pm
- Forum: Feature Requests
- Topic: Domoticz
- Replies: 15
- Views: 13392
Re: Domoticz
I would really like to send data/events/traps from domoticz to eventghost, (or maybe vize verca)...
Tips?
My eventghost is the best solution ever... but it need alot of pogramming/scripting...
Switchking its nice, it has an app and its easy to setup devices and units...I dont like the conditions ...
Tips?
My eventghost is the best solution ever... but it need alot of pogramming/scripting...
Switchking its nice, it has an app and its easy to setup devices and units...I dont like the conditions ...