Re: [mh] xAP vs Proxy

H Plato <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
Yup, I use this to syncronize objects in two instances. I have one instance for items that are network based and could have pauses (like venstar or razberry), and then a master loop that has the primary logic. xAP synchronizes item state and speech events

Been running this way for years. From what I recall:

1. I use ubuntu.
2. I use a xap-hub from 2002 that Patrick Lidstone created (I have the source if needed)
3. my mh.ini xap settings:

#master instance
# Xap Control
xap_disable= 0
xap_nohub  = 1
xpl_disable= 0
xap_echo_all = 0
xap_echo_speech = 1
xap_echo_mhspeech = 1
xap_enable_items = 1
ipaddress_xap=192.168.0.x
ipaddress_xap_broadcast=192.168.0.255

#secondary instances
xap_nohub  = 1
xpl_disable= 0
xpl_nohub  = 1
xap_echo_all = 0
xap_echo_mhspeech = 1
xap_enable_items = 1

4. The items need to have the exact same name in both instances

> On Nov 24, 2020, at 10:29 AM, Stephen Switzer <[email protected]> wrote:
> 
> I've been trying to refresh my memory on something I did 10+ years ago. I had an instance of MH on my laptop that monitored the motion sensor of my main MH instance and reacted to it, etc. I was looking and the proxy code and discovered that this really only works with serial items, so I have to re-create the code from the serial layer on up.
> 
> I then discovered the xAP explanation (https://github.com/hollie/misterhouse/wiki/xAP <https://github.com/hollie/misterhouse/wiki/xAP>) and realized that object states and voice commands can be synchronized. I'm not quite understanding this idea. Can someone share a working implementation? It should be of an instance that can sometimes run, but usually will be off.
> 
> Other ideas?
> 
> Thanks!
> 
> 
> -- 
> Best regards,
> Steve Switzer
> 
> ---
> Get world-class business I.T. services and a phone system with awesome features that won't challenge your budget!
> http://www.sbsROC.com <http://www.sbsroc.com/>________________________________________________________
> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.