Jump to content

Search the Community

Showing results for tags 'python'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • CinemaVision Kodi Add-ons
  • Kodi Entertainment Center
  • Home Automation
    • Kodi JSON RPC
    • VoxCommando
    • EventGhost
    • RPi.GPIO
    • Z-Wave
    • Philips Hue
    • LimitlessLED
    • LIFX
    • LightwaveRF
    • Telldus
    • Vera
    • Insteon
    • SmartThings
    • Universal Devices ISY
    • openHAB
    • HomeSeer
  • Content Creation
    • Adobe Photoshop CC
    • Adobe After Effects CC
    • Adobe Media Encoder CC
    • Adobe Premiere CC
    • Staff Guides

Forums

  • Main Forums
    • News & Announcements
    • General Discussion
    • Showroom
  • CinemaVision Add-on Forums
    • CinemaVision Add-on Feature Requests
    • CinemaVision Add-on Support
    • Home Automation Support
  • Content Forums
    • Trivia Slides
    • Audio Format Bumpers
    • Technology Format Bumpers
    • Ratings Bumpers
    • Video Bumpers
    • Cinemagraphs

Categories

  • CinemaVision Add-on
  • Sequences
  • Actions
  • Playlists
  • Trivia
    • Trivia Packs (All Members)
    • Trivia Packs (RedCarpet Club)
  • Audio Format Bumpers
  • Technology Format Bumpers
  • Ratings Bumpers
  • Video Bumpers
    • Bumper Packs (All Members)
    • Bumper Packs (RedCarpet Club)
    • Countdowns
    • Short Films
  • Other Content
    • Cinemagraphs
    • Miscellaneous Bumpers
  • Community Submissions
    • Sequences
    • Actions
    • Playlists
    • Trivia
    • Audio Format Bumpers
    • Technology Format Bumpers
    • Ratings Bumpers
    • Video Bumpers
    • Short Films
    • Cinemagraphs
    • Templates

Product Groups

  • RedCarpet Club Membership
  • Commission Custom Content

Categories

  • CinemaVision Kodi Add-ons
  • Kodi Entertainment Center
  • Home Automation
    • Insteon
    • LIFX
    • OpenHAB
    • Philips Hue
    • SmartThings
    • Universal Devices ISY
    • VoxCommando
  • Adobe Creative Cloud
    • Adobe Photoshop
    • Adobe Illustrator
    • Adobe After Effects
    • Adobe Premiere

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 3 results

  1. Thought I'd add this as a tip here as I found a supporting github repo recently and was able to get some nice python scripts going. --- So I use mainly Sengled brand smart bulbs in my house including their own Zigbee based hub as they have historically been cheap and easy to acquire from a number of retailers including Amazon as well as local brick-and-mortars like Microcenter and Home Depot in my neck of the woods. However using their own hub means there's no stock 'integration' or API options outside of their own app or Alexa/Google Home. Found a GitHub repo that provides a very clean 'API' of sorts for Sengled products that goes through their web servers and doesn't require migrating to a third party hub. https://github.com/vroy/python-sengled-client Here's a quick and dirty sample python script I wrote using this. It is largely using the examples right on the github page. REALLY easy to read and understand. import sengled api = sengled.api( # The username/password that you used to create your mobile account in # the Sengled Home app. username="***", password="***", # Optional path to persist the session across multiple process # starts and reduce the number of logins. #session_path="~/sengled.pickle", # Prints details of the api request/responses when True, defaults to false. debug=True ) api.find_by_id("ABCDEF1234567890") \ .on() \ .set_brightness(100) \ .set_brightness(95) \ .set_brightness(90) \ .set_brightness(85) \ .set_brightness(80) \ .set_brightness(75) \ .set_brightness(70) \ .set_brightness(65) \ .set_brightness(60) \ .set_brightness(55) \ .set_brightness(50) \ .set_brightness(45) \ .set_brightness(40) \ .set_brightness(35) \ .set_brightness(30) \ .set_brightness(25) \ .set_brightness(20) \ .set_brightness(15) \ .set_brightness(10) \ .set_brightness(5) \ .set_brightness(4) \ .set_brightness(3) \ .set_brightness(1) Which basically just makes sure the selected bulbs/groups are brought up to 100% and slowly dims down to 1%. It also supports their smart plugs and color changing bulbs in addition to the barebones single color/temp dimmable bulbs.
  2. Hi Folks, i am trying to remote my smarthome with the action content but it won't work. My Platform: Microsoft Vista with Kodi 17.1 RC - only for testing because my RPi3+ isn't there at the moment. NAS mybooklive with my movie collection. I Installed python 2 and 3 and i got a script from the www sending UDP Packets to my Loxone System. When i executed the .py scripts with the local python application everything works fine and my lights are getting out - YES.. :-) But when i Try to run it via CV it won't work. First of all i read the documentation with this: My CV Folder is on the NAS storage in the Folder "Trailer", so i put the .cvaction File in the action Folder but everything i got is this (screenshot down below). My script contains the follwing input - but nothing works... what do i make wrong? Actual i am trying it to run it local on my machine - next step should be trying to set it up in the NAS. Test1: python://C:\Python\LichtAus.py Test2: '<python://>''C:\Python\LichtAus.py' arg1 Test3: "<python>://"C:\Python\LichtAus.py Test4: <python>://"C:\Python\LichtAus.py" Test5: '<python>'://"C:\Python\LichtAus.py" Test6: '<python>'://'C:\Python\LichtAus.py' Actual it seems i am havin syntax problems... but what is the right syntax? I copied the same content from the guidline but it won't work... any ideas? My LichtAus.py looks like this - this is working with Python 3 import socket UDP_IP = "192.168.3.3" UDP_PORT = 6080 MESSAGE = "3" print("UDP target IP:", UDP_IP) print("UDP target port:", UDP_PORT) print("message:", MESSAGE) sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # UDP sock.sendto(bytes(MESSAGE, "utf-8"), (UDP_IP, UDP_PORT)) Regards Magnus
  3. Hello everyone I created a python script for communication with a crestron home automation processor and if started with python luncher it works perfectly. from cinema vision I tried to run it both as python: /// as well as as command: /// but it does not work the Python visualization test: ///script.py is OK but does not run the file when it launches it ... the test with the command: //script.py returns an os error the system is running on a macbook pro the lunch files and the script are in the same directory what am I doing wrong? I would simply use a correct string to launch a file P.S. attached the image of the error thank you so much Ambrosini Andrea
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines and Terms of Use.