Posts

Showing posts from June, 2026

How I create the changes in Hal

 I wanted to show how I go through the process of creating a set of situations that come up. This particular situation is "How do I create alarms on a home or business?" So, here I'm going to place the back and forth I do with the AI system to decide how I'm going to implement alarms and the discussion gets pretty complex. So be warned if you decide to read on.  So here is the discussion with Claude AI: yeah. This why it would be difficult for someone who hasn't been programming.  This is why most companies have rehired their programmers. There will come a day when the AI can handle everything without a programmer.  There's no way i can imagine that right now  If you like you want to read the jargon I put up with, read on. Claude finished the response this is the handoff to begin a new chat Here's the handoff summary to paste into a new chat: HAL multi-user remote access — relay now LIVE on the public internet (handoff) Status: transport phase COMPLETE and...

Alarms, alarms, alarms

 Since I have a healthy alarming system that I've spent 35 years developing for a power plant, its what I'll be using to create my alarming security system. Although, it won't be just an alarm system for doors and windows. It'll be for anything that needs alarming. So this is how its going to work . Ill set up a template  schematic thats as general as I can make it,  although I believe i may make several different templates for different types of alarms. For instance, an on/off alarming system is different than a range like temperature,  for instance. On/off will have parameters like alarm on change or alarm on "off to on" or "on to off".  A range alarming system have totally different types of alarms. For instance, a deadband may be necessary. If you have a tank that floats above and below a high level alarm, you best have a deadband of a percent or two, else every time it bounces , the alarm will sound and It'll drive you crazy.  So, hopefully ...

Internet server time

 Wow what a day. My main water pipe burst. Coming back from Home Depot, I turned too sharp and ripped my tire. My Ioniq5 doesnt have a spare so I had to have it towed home. Tomorrow,  ill take the rim in and get a new tire. Then I fixed the burst main with a coupling. Anyway, the way to get people to connect with their home or business,  I needed to get a server on the internet.  I thought that would be very expensive but instead of 6 or 7 thousand along with hundreds a month having someone maintain it and payments to a data center, it costs me 150 00 for 48 months.  What happened? Its less than 4.00 a month. Thats crazy. What isnt crazy is the setup. It would have taken me months figuring out how to set it up. Instead Claude guided me step by step through all the setups. Done in one day while flat tires and blown main water connections took my precious time. The world looks so different now. You may dislike AI, you might hate paying more for computer memory and...

Internet time

 Ive begun the process of connecting through to the internet.  That means that now that i have doors and temperatures, its time to start actually viewing my home remotely.   There's so much to do still. This will take a week. After that,  ill start adding windows, alarms on smartphones, textures like brick walls. Ai so that the user can create and view remotely by talking to a smartphone or desktop computer.  Alarms will be a bit of a problem because ill have to create a small local app that listens for alarms and tells the user theres an alarm at the house or business.  Onward and upward. Pierre

Viewing and editing remotely

 So how do i add objects on a webpage so as to animate those objects and represent a house or a building or a complicated object in real-time 3d, animated to represent those objects. Like a window opening or closing. The basic idea is to have a local small computer like a Raspberry Pi that can do the work of both talking to a local set of sensors like temperature, pressure, flow, window or door contacts or whatever. Or maybe a set of drapes. There are a few things to keep in mind. First, schematics are the way I manipulate a sensor's value before sending it off or receiving from a remote viewer.  Next, the viewer that remotely communicates  to these local schematics works entirely within a browser using three.js, a 3d interface that presents real time viewing of those sensors.   The browser viewer can do several things. It can remotely edit the 3d scene within the browser where the local computer gets the browser instructions to copy a schematic when a new 3d ob...

Multiple objects

  When i added another object using the same sensor, the system freaked out. So a schematic is intimately tied to an object but the system created a schematic named after the name of the sensor.  So obviously, it would try to create as schematic of the same name. That didn't work. I was trying to create 2 animation bars that changes size and color that represented both farenheit and Celsius from the same sensor, a Celsius sensor. The schematic for farenheit needs a range converter to convert the Celsius sensor to farenheit. Anyway, the system had to change the schematic names to fit the same sensor for 2 separate objects that use that same sensor. There has to be a way for a name to represent an object so the names now represent the different sensors with the name added on for the type of schematic that represents farenheit or Celsius, even with different sensors who have different names.  Yeah, I know complicated. Well it works now. Ill add a few more sensors for windows...

big day, big big changes

Image
The color and scaling system is now working between Hal and building-editor.html on my personal local website. Basically mimics the communication between a building/house to a browser located anywhere in the world. Here is a picture of what it looks like. You can see the color in the graph and the label above it in Celsius. The zigbee sensors are in Celsius. My next graph will be in Farenheit. I'll use a range converter to make that happen. Which I created in 1994.  It'll take a while to do stuff like position it on a wall but the basics are there. The ability to add an animated object to the scene exists and the communication between the local small computer that runs the house is solid.  It could be a small embedded computer like a raspberry pi or some small system hidden away that basically runs the house. Doesn't have to be very powerful. All it does is deliver sensor and color data to the internet by running through schematics. Not much of a burden. Next I'll add d...