apostolakisl Posted January 13, 2023 Posted January 13, 2023 Started playing around with it a week or so ago. It is a bit creepy that a computer can really seem so human in spontaneously reacting to your input. Has anyone used it to write code or do anything interesting in the HA world? Maybe it can write ISY code for us?😀
MrBill Posted January 14, 2023 Posted January 14, 2023 My son mentioned this yesterday, but when i tried at the time it said the site was too busy, asked for my email and said it would email me an invitation when space was available. No email yet, but your posting prompted me to create an account this morning which it accepted. For those that don't know... https://openai.com/ My first test was asking it how to negotiate the New Customer rate at Comcast, it had detailed suggestions, unfortunately I've already tried all those suggested. This time around Comcast is being more difficult than ever. 1
apostolakisl Posted January 14, 2023 Author Posted January 14, 2023 It is crazy scary how this think really seems to understand. I asked it to accomplish a task in python code and it just spit it out with notation and everything. I asked it some professional questions and it spit out excellent answers. Several paragraphs of explanation organized perfectly and concise with very human like phrasing and word selection. I asked it to help me make a scene in my isy, and it gave a perfect answer. And of course it was far easier to ask openai than to try and dig this information out of the wiki. To create a scene using your ISY controller and Insteon switches, you will need to follow these steps: Log into the web interface for your ISY controller. Navigate to the "Scenes" page. Click on the "Add Scene" button to create a new scene. Give your scene a name and select the Insteon switches that you want to include in the scene. Configure the actions for each switch by specifying the desired state (e.g. on or off) and the level (if applicable). Save the scene. Once you have created the scene, you can activate it by clicking on the scene name in the web interface or by using any other control methods you have configured (such as a mobile app). Note: The above steps are general and depend on the ISY firmware version and UI, it's recommended to check the specific instructions for your device.
elvisimprsntr Posted January 15, 2023 Posted January 15, 2023 My first test was asking it how to negotiate the New Customer rate at Comcast, it had detailed suggestions, unfortunately I've already tried all those suggested. This time around Comcast is being more difficult than ever. Every 12 months I would fire up the coffee pot on a Saturday morning and say to myself, “Comcast, today we do battle!” I had more success with the online chat support in getting the new customer rate. My argument was:1. Since I own my home, you do not need to roll a truck every 12 months to disconnect and reconnect service at the same address2. I do my own tech support and inside wiring. 3. I never call for support 4. I pay on time every month5. I am your lowest cost customer, thus I should get the new customer rate. 6. Any time they would try to upsell me a TV package, I would tell them it’s against my religion. That stopped them in their tracks. Two of the happiest days of my life were:1. 13 years ago I turned in my cable box. I stood in line at the local office to get a receipt so they would stop billing me. The 50+ other people were there to get new equipment after a lightning strike knocked out their boxes. They all asked how I was getting TV service. I told them I installed a whole home OTA antenna in my attic which receives all the local channels. Most of them were elderly folks who only wanted local stations. I could have made a fortune selling ATSC boxes and antenna out of the back of a van parked on a public road in front of the Comcast office. 2. The day I terminated my Comcast HSI after ATT fiber was installed at my house. I tried to terminate my service on a Saturday, but they said I had to call back during the week. They asked if there was anything they could do. I told them give me a new customer rate. When they couldn’t, I told them I will never use Comcast again as long as I live. They called me a week later to say they just started a new promotion which I was eligible for a new customer rate. I told them, “you had your chance!” When I signed up for ATT fiber, I told them the shenanigans Comcast played and ATT better not play the same games or I will not hesitate to find another provider. They flagged my account and locked my rate at $30/mo for 50 mbps symmetric. It’s been upgraded to 100, then 300 mbps (actual sustained speeds 375 mbps) and never increased my rate. 4
apostolakisl Posted January 18, 2023 Author Posted January 18, 2023 I asked openai to write a program for isy that turns on the lights every night at sunset until 10pm, and it gave this answer: import datetime from pyisy import ISY # Connect to your ISY device isy = ISY.Isy("http://your-isy-ip-address", "your-username", "your-password") while True: # Get the current time now = datetime.datetime.now() sunset = isy.sunset() # Check if it's after sunset but before 10pm if now.time() > sunset.time() and now.time() < datetime.time(22, 0): # Turn the lights on isy.on("your-light-node-address") else: # Turn the lights off isy.off("your-light-node-address") # Sleep for a minute before checking again time.sleep(60)
Mecheng70 Posted January 19, 2023 Posted January 19, 2023 I was playing around with having it create a python code to read a file, perform data analysis and print out the top five results. It did. And the cool thing is that you can add to it and it was recode and provide the code.
Recommended Posts